ChangeLog-2005 104 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923
  1. 2005-12-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  2. PR libfortran/25594
  3. PR libfortran/25419
  4. * io/list_read.c (list_formatted_read_scalar): Test for comma to return
  5. a null value (default). Revert patch of 25419 on 2005-12-28.
  6. 2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  7. PR libfortran/25139
  8. * io/unix.c (fd_truncate): Set s->active to zero.
  9. PR libfortran/25510
  10. * libgfortran.h: Add ERROR_INTERNAL and ERROR_INTERNAL_UNIT.
  11. * runtime/error.c (translate_error): Add messages for new errors.
  12. * io/list_read.c (next_char): Use new errors.
  13. * io/transfer.c (next_record_r) (next_record_w): Use new errors.
  14. 2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  15. PR libfortran/25550
  16. * io/file_pos.c (st_rewind): Reset bytes left so no error occurs in
  17. next_record_r.
  18. 2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  19. PR libfortran/25419
  20. * io/list_read.c (list_formatted_read_scalar): Allow comma to return a
  21. null value (default).
  22. 2005-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  23. PR libfortran/25307
  24. * io/list_read.c (next_char): Handle end-of-file conditions for
  25. internal units and add support for internal character array units.
  26. 2005-12-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  27. PR libfortran/25463
  28. * io/transfer.c (finalize_transfer): Fix execution order so that
  29. next_record is set to zero in all cases.
  30. 2005-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  31. PR libfortran/25264
  32. PR libfortran/25349
  33. * io/unit.c (get_unit): Delete code that cleared the string when the
  34. unit was opened, which is too soon.
  35. * io/transfer.c (next_record_w): Pass done flag in. Change logic for
  36. setting max_pos. Add code to position unit and pad record as needed.
  37. 2005-12-13 Richard Sandiford <richard@codesourcery.com>
  38. Victor Leikehman <LEI@il.ibm.com>
  39. * m4/matmul.m4: Use a different order in the special case of a
  40. transposed first argument.
  41. * generated/matmul_c4.c, generated/matmul_c8.c, generated/matmul_c10.c,
  42. * generated/matmul_c16.c, generated/matmul_i4.c, generated/matmul_i8.c,
  43. * generated/matmul_i10.c, generated/matmul_r4.c, generated/matmul_r8.c
  44. * generated/matmul_r10.c, generated/matmul_r16.c: Regenerated.
  45. 2005-12-10 Janne Blomqvist <jb@gcc.gnu.org>
  46. * Makefile.am: Enable loop unrolling for matmul.
  47. * configure: Regenerated.
  48. * Makefile.in: Regenerated.
  49. * aclocal.m4: Regenerated.
  50. 2005-12-10 Thomas Koenig <Thomas.Koenig@online.de>
  51. PR fortran/23815
  52. * io/file_pos.c (unformatted_backspace): If flags.convert
  53. does not equal CONVERT_NATIVE, reverse the record marker.
  54. * io/open.c: Add convert_opt[].
  55. (st_open): If no convert option is given, set CONVERT_NATIVE.
  56. If CONVERT_BIG or CONVERT_LITTLE are given, set flags.convert to
  57. CONVERT_NATIVE or CONVERT_SWAP (depending on wether we have
  58. a big- or little-endian system).
  59. * io/transfer.c (unformatted_read): Remove unused attribute
  60. from arguments.
  61. If we need to reverse
  62. bytes, break up large transfers into a loop. Split complex
  63. numbers into its two parts.
  64. (unformatted_write): Likewise.
  65. (us_read): If flags.convert does not equal CONVERT_NATIVE,
  66. reverse the record marker.
  67. (next_record_w): Likewise.
  68. (reverse_memcpy): New function.
  69. * io/inquire.c (inquire_via_unit): Implement convert.
  70. * io/io.h (top level): Add enum unit_convert.
  71. Add convert to st_parameter_open and st_parameter_inquire.
  72. Define IOPARM_OPEN_HAS_CONVERT and IOPARM_INQUIRE_HAS_CONVERT.
  73. Increase padding for st_parameter_dt.
  74. Declare reverse_memcpy().
  75. 2005-12-09 Jakub Jelinek <jakub@redhat.com>
  76. PR libfortran/24991
  77. * acinclude.m4: Include acx.m4 and no-executables.m4.
  78. * configure.ac: Add GCC_TOPLEVEL_SUBDIRS.
  79. * configure: Rebuilt.
  80. * Makefile.am (AM_CPPFLAGS): Use $(host_subdir) in build dir
  81. path.
  82. * Makefile.in: Rebuilt.
  83. 2005-12-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  84. PR libfortran/25039
  85. * io/io.h: Create a new flag sf_read_comma to control comma
  86. separators in numeric reads.
  87. * io/transfer.c (formatted_transfer_scalar): Initialize the flag.
  88. (read_sf): Check for commas coming in and if the flag is set,
  89. shortcut the read.
  90. * io/read.c (read_a) (read_x): Clear the flag for character reads and
  91. reset it after the reads.
  92. 2005-12-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  93. * io/format.c: Removing unused code.
  94. * intrinsics/random.c: Likewise.
  95. 2005-12-02 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  96. PR libfortran/25116
  97. * io/transfer.c (data_transfer_init): Don't set the default for
  98. namelist I/O on preconnected files to UNFORMATTED.
  99. 2005-11-30 Eric Botcazou <ebotcazou@libertysurf.fr>
  100. * libgfortran.h (ILP32 typedefs): Define _UINT8_T, _UINT32_T and
  101. _UINT64_T on Solaris.
  102. 2005-11-28 Steven G. Kargl <kargls@comcast.net>
  103. PR libfortran/25149
  104. * intrinsics/abort.c: Add external abort_ to allow linking when
  105. invoking -std=f95 in testsuite.
  106. 2005-11-28 Jakub Jelinek <jakub@redhat.com>
  107. PR libfortran/24991
  108. * acinclude.m4 (LIBGFOR_CHECK_PRAGMA_WEAK): Rename to...
  109. (LIBGFOR_GTHREAD_WEAK): ... this. Define SUPPORTS_WEAK rather
  110. than HAVE_PRAGMA_WEAK. Define GTHREAD_USE_WEAK to 0 on hosts
  111. that shouldn't use weak in gthr.h.
  112. * configure.ac: Use LIBGFOR_GTHREAD_WEAK instead of
  113. LIBGFOR_CHECK_PRAGMA_WEAK.
  114. * config.h.in: Regenerated.
  115. * configure: Regenerated.
  116. * io/io.h (SUPPORTS_WEAK): Don't define here.
  117. * intrinsics/ftell.c (ftell, FTELL_SUB): Add unlock_unit call.
  118. * intrinsics/fget.c (fgetc, fputs): Likewise.
  119. * intrinsics/tty.c (ttynam): Likewise.
  120. 2005-11-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  121. PR libfortran/25109
  122. * io/unit.c (init_units): Set default flag to BLANK_NULL per
  123. requirement of F95 standard. Set PAD_YES for stdin.
  124. 2005-11-27 David Edelsohn <edelsohn@gnu.org>
  125. * intrinsics/random.c: Include config.h
  126. * io/size_from_kind.c: Include config.h and libgfortran.h
  127. * io/io.h: Revert 2005-11-21 change.
  128. 2005-11-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  129. * io/write.c (namelist_write): Correct type in previous
  130. commit.
  131. 2005-11-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  132. PR libfortran/24919
  133. * io/list_read.c (eat_separator, finish_separator,
  134. read_character): Handle CRLF separators correctly during reads.
  135. (nml_query): Use the HAVE_CRLF macro to print adequate newlines.
  136. * io/io.h (st_parameter_dt): Add comment about the possible
  137. values for sf_seen_eor.
  138. * io/unix.c (tempfile, regular_file): HAVE_CRLF doesn't imply
  139. that O_BINARY is defined, so we add that condition.
  140. (stream_at_bof): Fix typo in comment.
  141. * io/transfer.c (read_sf): Handle correctly CRLF, setting
  142. sf_seen_eor value to 2 instead of 1.
  143. (formatted_transfer_scalar): Use the sf_seen_eor value to
  144. handle CRLF the right way.
  145. * io/write.c (nml_write_obj, namelist_write): Use CRLF as newline
  146. when HAVE_CRLF is defined.
  147. 2005-11-27 Janne Blomqvist <jb@gcc.gnu.org>
  148. * m4/ifunction.m4: Add const restrict to function arguments.
  149. * m4/iforeach.m4: Likewise.
  150. * m4/eoshift1.m4: Likewise.
  151. * m4/eoshift3.m4: Likewise.
  152. * m4/dotprod.m4: Likewise.
  153. * m4/dotprodc.m4: Likewise.
  154. * m4/dotprodl.m4: Likewise.
  155. * m4/shape.m4: Likewise.
  156. * m4/cshift1.m4: Likewise.
  157. * m4/reshape.m4: Likewise.
  158. * m4/transpose.m4: Likewise.
  159. * generated/eoshift*: Regenerated
  160. * generated/dotprod*: Likewise.
  161. * generated/shape*: Likewise.
  162. * generated/cshift1*: Likewise.
  163. * generated/reshape*: Likewise.
  164. * generated/transpose*: Likewise.
  165. 2005-11-26 Richard Henderson <rth@redhat.com>
  166. * io/list_read.c (nml_parse_qualifier): Use ssize_t instead of int
  167. in dtp->u.p.value.
  168. 2005-11-26 Janne Blomqvist <jb@gcc.gnu.org>
  169. PR libfortran/24945
  170. * io/open.c (edit_modes): Check for STATUS_UNKNOWN flag.
  171. 2005-11-25 Richard Henderson <rth@redhat.com>
  172. * io/list_read.c (nml_parse_qualifier): Use memcpy to extract
  173. values from dtp->u.p.value.
  174. * io/io.h (struct st_parameter_dt): Change reversion_flag, first_item,
  175. seen_dollar, sf_seen_eor, eor_condition, no_leading_blank, char_flag,
  176. input_complete, at_eol, comma_flag, namelist_mode, nml_read_error to
  177. single-bit fields. Move value to where it'll be at least pointer
  178. aligned.
  179. 2005-11-23 Alan Modra <amodra@bigpond.net.au>
  180. * io/open.c (new_unit): Use the right unit number when checking
  181. for stdin, stdout, stderr.
  182. 2005-11-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  183. PR libfortran/24794
  184. * io/list_read.c (read_character): Add auto completion on short
  185. namelist reads.
  186. 2005-11-21 David Edelsohn <edelsohn@gnu.org>
  187. * io/io.h (_LARGE_FILES): Undefine for AIX.
  188. (_LARGE_FILE_API): Define for AIX.
  189. 2005-11-21 Jakub Jelinek <jakub@redhat.com>
  190. PR fortran/24774
  191. PR fortran/14943
  192. PR fortran/21647
  193. * Makefile.am (AM_CPPFLAGS): Add gcc directories as -I paths,
  194. add -D_GNU_SOURCE.
  195. * Makefile.in: Regenerated.
  196. * acinclude.m4 (LIBGFOR_CHECK_SYNC_FETCH_AND_ADD,
  197. LIBGFOR_CHECK_GTHR_DEFAULT, LIBGFOR_CHECK_PRAGMA_WEAK): New macros.
  198. * configure.ac: Add them.
  199. * configure: Rebuilt.
  200. * config.h.in: Rebuilt.
  201. * libtool-version: Bump libgfortran.so SONAME to libgfortran.so.1.
  202. * libgfortran.h (library_start, show_locus, internal_error,
  203. generate_error, find_option): Add st_parameter_common * argument.
  204. (library_end): Change into a dummy macro.
  205. * io/io.h: Include gthr.h.
  206. (SUPPORTS_WEAK): Define if HAVE_PRAGMA_WEAK.
  207. (CHARACTER): Remove define.
  208. (st_parameter, global_t): Remove typedef.
  209. (ioparm, g, ionml, current_unit): Remove variables.
  210. (init_error_stream): Remove prototype.
  211. (CHARACTER1, CHARACTER2): Define.
  212. (st_parameter_common, st_parameter_open, st_parameter_close,
  213. st_parameter_filepos, st_parameter_inquire, st_parameter_dt): New
  214. typedefs.
  215. (IOPARM_LIBRETURN_MASK, IOPARM_LIBRETURN_OK, IOPARM_LIBRETURN_ERROR,
  216. IOPARM_LIBRETURN_END, IOPARM_LIBRETURN_EOR, IOPARM_ERR, IOPARM_END,
  217. IOPARM_EOR, IOPARM_HAS_IOSTAT, IOPARM_HAS_IOMSG, IOPARM_COMMON_MASK,
  218. IOPARM_OPEN_HAS_RECL_IN, IOPARM_OPEN_HAS_FILE, IOPARM_OPEN_HAS_STATUS,
  219. IOPARM_OPEN_HAS_ACCESS, IOPARM_OPEN_HAS_FORM, IOPARM_OPEN_HAS_BLANK,
  220. IOPARM_OPEN_HAS_POSITION, IOPARM_OPEN_HAS_ACTION,
  221. IOPARM_OPEN_HAS_DELIM, IOPARM_OPEN_HAS_PAD, IOPARM_CLOSE_HAS_STATUS,
  222. IOPARM_INQUIRE_HAS_EXIST, IOPARM_INQUIRE_HAS_OPENED,
  223. IOPARM_INQUIRE_HAS_NUMBER, IOPARM_INQUIRE_HAS_NAMED,
  224. IOPARM_INQUIRE_HAS_NEXTREC, IOPARM_INQUIRE_HAS_RECL_OUT,
  225. IOPARM_INQUIRE_HAS_FILE, IOPARM_INQUIRE_HAS_ACCESS,
  226. IOPARM_INQUIRE_HAS_FORM, IOPARM_INQUIRE_HAS_BLANK,
  227. IOPARM_INQUIRE_HAS_POSITION, IOPARM_INQUIRE_HAS_ACTION,
  228. IOPARM_INQUIRE_HAS_DELIM, IOPARM_INQUIRE_HAS_PAD,
  229. IOPARM_INQUIRE_HAS_NAME, IOPARM_INQUIRE_HAS_SEQUENTIAL,
  230. IOPARM_INQUIRE_HAS_DIRECT, IOPARM_INQUIRE_HAS_FORMATTED,
  231. IOPARM_INQUIRE_HAS_UNFORMATTED, IOPARM_INQUIRE_HAS_READ,
  232. IOPARM_INQUIRE_HAS_WRITE, IOPARM_INQUIRE_HAS_READWRITE,
  233. IOPARM_DT_LIST_FORMAT, IOPARM_DT_NAMELIST_READ_MODE,
  234. IOPARM_DT_HAS_REC, IOPARM_DT_HAS_SIZE, IOPARM_DT_HAS_IOLENGTH,
  235. IOPARM_DT_HAS_FORMAT, IOPARM_DT_HAS_ADVANCE,
  236. IOPARM_DT_HAS_INTERNAL_UNIT, IOPARM_DT_HAS_NAMELIST_NAME,
  237. IOPARM_DT_IONML_SET): Define.
  238. (gfc_unit): Add lock, waiting and close fields. Change file
  239. from flexible array member into pointer to char.
  240. (open_external): Add st_parameter_open * argument.
  241. (find_file, file_exists): Add file and file_len arguments.
  242. (flush_all_units): New prototype.
  243. (max_offset, unit_root, unit_lock): New variable.
  244. (is_internal_unit, is_array_io, next_array_record,
  245. parse_format, next_format, unget_format, format_error,
  246. read_block, write_block, next_record, convert_real,
  247. read_a, read_f, read_l, read_x, read_radix, read_decimal,
  248. list_formatted_read, finish_list_read, namelist_read,
  249. namelist_write, write_a, write_b, write_d, write_e, write_en,
  250. write_es, write_f, write_i, write_l, write_o, write_x, write_z,
  251. list_formatted_write, get_unit): Add st_parameter_dt * argument.
  252. (insert_unit): Remove prototype.
  253. (find_or_create_unit, unlock_unit): New prototype.
  254. (new_unit): Return gfc_unit *. Add st_parameter_open *
  255. and gfc_unit * arguments.
  256. (free_fnodes): Remove prototype.
  257. (free_format_data): New prototype.
  258. (scratch): Remove.
  259. (init_at_eol): Remove prototype.
  260. (free_ionml): New prototype.
  261. (inc_waiting_locked, predec_waiting_locked, dec_waiting_unlocked):
  262. New inline functions.
  263. * io/unit.c (max_offset, unit_root, unit_lock): New variables.
  264. (insert): Adjust os_error caller.
  265. (insert_unit): Made static. Allocate memory here, initialize
  266. lock and after inserting it return it, locked.
  267. (delete_unit): Adjust for deletion of g.
  268. (find_unit_1): New function.
  269. (find_unit): Use it.
  270. (find_or_create_unit): New function.
  271. (get_unit): Add dtp argument, change meaning of the int argument
  272. as creation request flag. Adjust for different st_* calling
  273. conventions, lock internal unit's lock before returning it
  274. and removal of g. Call find_unit_1 instead of find_unit.
  275. (is_internal_unit, is_array_io): Add dtp argument, adjust for
  276. removal of most of global variables.
  277. (init_units): Initialize unit_lock. Adjust insert_unit callers
  278. and adjust for g removal.
  279. (close_unit_1): New function.
  280. (close_unit): Use it.
  281. (unlock_unit): New function.
  282. (close_units): Lock unit_lock, use close_unit_1 rather than
  283. close_unit.
  284. * io/close.c (st_close): Add clp argument. Adjust for new
  285. st_* calling conventions and internal function API changes.
  286. * io/file_pos.c (st_backspace, st_endfile, st_rewind, st_flush):
  287. Add fpp argument. Adjust for new st_* calling conventions and
  288. internal function API changes.
  289. (formatted_backspace, unformatted_backspace): Likewise. Add
  290. u argument.
  291. * io/open.c (edit_modes, st_open): Add opp argument. Adjust for
  292. new st_* calling conventions and internal function API changes.
  293. (already_open): Likewise. If not HAVE_UNLINK_OPEN_FILE, unlink
  294. scratch file. Instead of calling close_unit just call sclose,
  295. free u->file if any and clear a few u fields before calling
  296. new_unit.
  297. (new_unit): Return gfc_unit *. Add opp and u arguments.
  298. Adjust for new st_* calling conventions and internal function
  299. API changes. Don't allocate unit here, rather than work with
  300. already created unit u already locked on entry. In case
  301. of failure, close_unit it.
  302. * io/unix.c: Include unix.h.
  303. (BUFFER_SIZE, unix_stream): Moved to unix.h.
  304. (unit_to_fd): Add unlock_unit call.
  305. (tempfile): Add opp argument, use its fields rather than ioparm.
  306. (regular_file): Likewise.
  307. (open_external): Likewise. Only unlink file if fd >= 0.
  308. (init_error_stream): Add error argument, set structure it points
  309. to rather than filling static variable and returning its address.
  310. (FIND_FILE0_DECL, FIND_FILE0_ARGS): Define.
  311. (find_file0): Use them. Don't crash if u->s == NULL.
  312. (find_file): Add file and file_len arguments, use them instead
  313. of ioparm. Add locking. Pass either an array of 2 struct stat
  314. or file and file_len pair to find_file0.
  315. (flush_all_units_1, flush_all_units): New functions.
  316. (file_exists): Add file and file_len arguments, use them instead
  317. of ioparm.
  318. * io/unix.h: New file.
  319. * io/lock.c (ioparm, g, ionml): Remove variables.
  320. (library_start): Add cmp argument, adjust for new st_* calling
  321. conventions.
  322. (library_end): Remove.
  323. (free_ionml): New function.
  324. * io/inquire.c (inquire_via_unit, inquire_via_filename,
  325. st_inquire): Add iqp argument, adjust for new st_* calling
  326. conventions and internal function API changes.
  327. * io/format.c (FARRAY_SIZE): Decrease to 64.
  328. (fnode_array, format_data): New typedefs.
  329. (avail, array, format_string, string, error, saved_token, value,
  330. format_string_len, reversion_ok, saved_format): Remove variables.
  331. (colon_node): Add const.
  332. (free_fnode, free_fnodes): Remove.
  333. (free_format_data): New function.
  334. (next_char, unget_char, get_fnode, format_lex, parse_format_list,
  335. format_error, parse_format, revert, unget_format, next_test): Add
  336. fmt or dtp arguments, pass it all around, adjust for internal
  337. function API changes and adjust for removal of global variables.
  338. (next_format): Likewise. Constify return type.
  339. (next_format0): Constify return type.
  340. * io/transfer.c (current_unit, sf_seen_eor, eor_condition, max_pos,
  341. skips, pending_spaces, scratch, line_buffer, advance_status,
  342. transfer): Remove variables.
  343. (transfer_integer, transfer_real, transfer_logical,
  344. transfer_character, transfer_complex, transfer_array, current_mode,
  345. read_sf, read_block, read_block_direct, write_block,
  346. write_block_direct, unformatted_read, unformatted_write,
  347. type_name, write_constant_string, require_type,
  348. formatted_transfer_scalar, us_read, us_write, pre_position,
  349. data_transfer_init, next_record_r, next_record_w, next_record,
  350. finalize_transfer, iolength_transfer, iolength_transfer_init,
  351. st_iolength, st_iolength_done, st_read, st_read_done, st_write,
  352. st_write_done, st_set_nml_var, st_set_nml_var_dim,
  353. next_array_record): Add dtp argument, pass it all around, adjust for
  354. internal function API changes and removal of global variables.
  355. * io/list_read.c (repeat_count, saved_length, saved_used,
  356. input_complete, at_eol, comma_flag, last_char, saved_string,
  357. saved_type, namelist_mode, nml_read_error, value, parse_err_msg,
  358. nml_err_msg, prev_nl): Remove variables.
  359. (push_char, free_saved, next_char, unget_char, eat_spaces,
  360. eat_separator, finish_separator, nml_bad_return, convert_integer,
  361. parse_repeat, read_logical, read_integer, read_character,
  362. parse_real, read_complex, read_real, check_type,
  363. list_formatted_read_scalar, list_formatted_read, finish_list_read,
  364. find_nml_node, nml_untouch_nodes, nml_match_name, nml_query,
  365. namelist_read): Add dtp argument, pass it all around, adjust for
  366. internal function API changes and removal of global variables.
  367. (nml_parse_qualifier): Likewise. Add parse_err_msg argument.
  368. (nml_read_obj): Likewise. Add pprev_nl, nml_err_msg, clow and
  369. chigh arguments.
  370. (nml_get_obj_data): Likewise. Add pprev_nl and nml_err_msg
  371. arguments.
  372. (init_at_eol): Removed.
  373. * io/read.c (convert_real, read_l, read_a, next_char, read_decimal,
  374. read_radix, read_f, read_x): Add dtp argument, pass it all around,
  375. adjust for internal function API changes and removal of global
  376. variables.
  377. (set_integer): Adjust internal_error caller.
  378. * io/write.c (no_leading_blank, nml_delim): Remove variables.
  379. (write_a, calculate_sign, calculate_G_format, output_float,
  380. write_l, write_float, write_int, write_decimal, write_i, write_b,
  381. write_o, write_z, write_d, write_e, write_f, write_en, write_es,
  382. write_x, write_char, write_logical, write_integer, write_character,
  383. write_real, write_complex, write_separator,
  384. list_formatted_write_scalar, list_formatted_write, nml_write_obj,
  385. namelist_write): Add dtp argument, pass it all around, adjust for
  386. internal function API changes and removal of global variables.
  387. (extract_int, extract_uint, extract_real): Adjust internal_error
  388. callers.
  389. * runtime/fpu.c (_GNU_SOURCE): Don't define here.
  390. * runtime/error.c: Include ../io/unix.h.
  391. (filename, line): Remove variables.
  392. (st_printf): Pass address of a local variable to init_error_stream.
  393. (show_locus): Add cmp argument. Use fields it points to rather than
  394. filename and line variables.
  395. (os_error, runtime_error): Remove show_locus calls.
  396. (internal_error): Add cmp argument. Pass it down to show_locus.
  397. (generate_error): Likewise. Use flags bitmask instead of non-NULL
  398. check for iostat and iomsg parameter presence, adjust for st_*
  399. calling convention changes.
  400. * runtime/stop.c (stop_numeric, stop_string): Remove show_locus
  401. calls.
  402. * runtime/pause.c (pause_numeric, pause_string): Likewise.
  403. * runtime/string.c: Include ../io/io.h.
  404. (find_option): Add cmp argument. Pass it down to generate_error.
  405. * intrinsics/flush.c (recursive_flush): Remove.
  406. (flush_i4, flush_i8): Use flush_all_units. Add unlock_unit
  407. call.
  408. * intrinsics/rand.c: Include ../io/io.h.
  409. (rand_seed_lock): New variable.
  410. (srand, irand): Add locking.
  411. (init): New constructor function.
  412. * intrinsics/random.c: Include ../io/io.h.
  413. (random_lock): New variable.
  414. (random_r4, random_r8, arandom_r4, arandom_r8): Add locking.
  415. (random_seed): Likewise. open failed if fd < 0. Set i correctly.
  416. (init): New constructor function.
  417. * intrinsics/system_clock.c (tp0, t0): Remove.
  418. (system_clock_4, system_clock_8): Don't subtract tp0/t0 from current
  419. time, use just integer arithmetics.
  420. * intrinsics/tty.c (isatty_l4, isatty_l8, ttynam_sub): Add
  421. unlock_unit calls.
  422. 2005-11-20 Richard Henderson <rth@redhat.com>
  423. * Makefile.am: Revert 2005-11-14 change. Enable -free-vectorize
  424. via gmake per-target variables.
  425. * Makefile.in, aclocal.m4: Regenerate.
  426. 2005-11-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  427. * configure.ac: Add "-I ." to the AM_FCFLAGS.
  428. * configure: Regenerate.
  429. 2005-11-18 Hans-Peter Nilsson <hp@axis.com>
  430. * config/fpu-glibc.h (set_fpu): Only call fedisableexcept for
  431. nonzero FE_ALL_EXCEPT.
  432. 2005-11-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  433. PR fortran/24892
  434. * io/io.h (unit_access): Add ACCESS_APPEND.
  435. * io/open.c (access_opt): Add APPEND value for ACCESS keyword.
  436. (st_open): Use that new value to set the POSITION accordingly.
  437. 2005-11-14 Janne Blomqvist <jb@gcc.gnu.org>
  438. PR fortran/21468
  439. * Makefile.am: Add -ftree-vectorize for compiling matmul.
  440. * m4/matmul.m4: Add const and restrict to type declarations as
  441. appropriate.
  442. * m4/matmull.m4: Likewise.
  443. * Makefile.in: Regenerated.
  444. * generated/matmul_*.c: Likewise.
  445. 2005-11-13 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  446. * intrinsics/fget.c: New file.
  447. * intrinsics/ftell.c: New file.
  448. * io/unix.c (stream_offset): New function.
  449. * io/io.h: Add prototype for stream_offset.
  450. * Makefile.am: Add intrinsics/fget.c and intrinsics/ftell.c.
  451. * Makefile.in: Regenerate.
  452. 2005-11-12 Steven G. Kargl <kargls@comcast.net>
  453. PR libfortran/24787
  454. * intrinsics/string_intrinsics.c (string_scan): Off by one; Fix typos
  455. in nearby comment.
  456. 2005-11-10 Andreas Jaeger <aj@suse.de>
  457. * libgfortran.h: Add proper defines where needed.
  458. 2005-11-10 Andreas Jaeger <aj@suse.de>
  459. * libgfortran.h: Add missing prototypes for internal_pack
  460. functions.
  461. 2005-11-06 Janne Blomqvist <jb@gcc.gnu.org>
  462. PR fortran/24174
  463. PR fortran/24305
  464. * io/io.h: Add argument to prototypes, add prototypes for
  465. size_from_*_kind functions.
  466. * io/list_read.c (read_complex): Add size argument, use
  467. it.
  468. (list_formatted_read): Add size argument, cleanup.
  469. (list_formatted_read_scalar): Add size argument.
  470. (nml_read_obj): Fix for padding.
  471. * io/transfer.c: Add argument to transfer function pointer.
  472. (unformatted_read): Add size argument.
  473. (unformatted_write): Likewise.
  474. (formatted_transfer_scalar): Fix for padding with complex(10).
  475. (formatted_transfer): Add size argument, cleanup.
  476. (transfer_integer): Add size argument to transfer call.
  477. (transfer_real): Likewise.
  478. (transfer_logical): Likewise.
  479. (transfer_character): Likewise.
  480. (transfer_complex): Likewise.
  481. (transfer_array): New kind argument, use it.
  482. (data_transfer_init): Add size argument to formatted_transfer
  483. call.
  484. (iolength_transfer): Add size argument, cleanup.
  485. * io/write.c (write_complex): Add size argument, fix for padding
  486. with complex(10).
  487. (list_formatted_write): Add size argument, cleanup.
  488. (list_formatted_write_scalar): Add size argument, use it.
  489. (nml_write_obj): Fix for size vs. kind issue.
  490. * io/size_from_kind.c: New file.
  491. * Makefile.am: Add io/size_from_kind.c.
  492. * configure: Regenerate.
  493. * Makefile.in: Regenerate.
  494. 2005-11-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  495. * intrinsics/ctime.c: New file.
  496. * configure.ac: Add check for ctime.
  497. * Makefile.am: Add ctime.c
  498. * configure: Regenerate.
  499. * config.h.in: Regenerate.
  500. * Makefile.in: Regenerate.
  501. 2005-11-05 Richard Guenther <rguenther@suse.de>
  502. * configure.ac: Use AM_FCFLAGS for extra flags, not FCFLAGS.
  503. * configure: Regenerate.
  504. 2005-11-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  505. * intrinsics/tty.c (ttynam): New function.
  506. 2005-11-04 Steven G. Kargl <kargls@comcast.net>
  507. PR fortran/24636
  508. * runtime/stop.c (stop_numeric): Use stop_code = -1.
  509. 2005-11-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  510. PR libfortran/22298
  511. * runtime/main.c (stupid_function_name_for_static_linking): New
  512. function.
  513. * runtime/error.c (internal_error): Call
  514. stupid_function_name_for_static_linking.
  515. * libgfortran.h: Add prototype for
  516. stupid_function_name_for_static_linking.
  517. 2005-11-01 Paul Thomas <pault@gcc.gnu.org>
  518. PR fortran/14994
  519. * libgfortran/intrinsics/date_and_time.c: Add interface to
  520. the functions date_and_time for the intrinsic function secnds.
  521. 2005-10-31 Jerry DeLisle <jvdelisle@verizon.net>
  522. PR libfortran/24584
  523. * io/list_read.c (free_saved): Set saved_used to zero.
  524. 2005-10-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  525. PR libfortran/20179
  526. * io/unix.c (flush_if_preconnected): New function.
  527. * io/io.h: Add prototype for flush_if_preconnected.
  528. * io/transfer.c (data_transfer_init): Use flush_if_preconnected
  529. to workaround buggy mixed C-Fortran code.
  530. 2005-10-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  531. * Makefile.am: Add intrinsics/malloc.c file.
  532. * Makefile.in: Regenerate.
  533. * intrinsics/malloc.c: New file, with implementations for free
  534. and malloc library functions.
  535. 2005-10-29 Mike Stump <mrs@apple.com>
  536. * Makefile.am (kinds.h): Remove target, if command fails.
  537. (selected_int_kind.inc): Likewise.
  538. (selected_real_kind.inc): Likewise.
  539. * Makefile.in: Regenerate.
  540. 2005-10-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  541. * Makefile.am (intrinsics): Add signal.c.
  542. * Makefile.in: Regenerate.
  543. * configure.ac: Checks for signal and alarm.
  544. * config.h.in: Regenerate.
  545. * configure: Regenerate.
  546. * intrinsics/signal.c: New file for SIGNAL and ALARM intrinsics.
  547. 2005-10-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  548. * acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.
  549. * configure.ac: Check for floatingpoint.h, fptrap.h and float.h
  550. headers. Use LIBGFOR_CHECK_FPSETMASK. Check for fp_trap and
  551. fp_enable functions.
  552. * configure.host: Add case for systems with fpsetmask and systems
  553. with fp_trap/fp_enable.
  554. * config/fpu-sysv.h: New file, FPU code using fpsetmask.
  555. * config/fpu-aix.h: New file, FPU code for AIX using fp_trap and
  556. fp_enable.
  557. * aclocal.m4: Regenerate.
  558. * configure: Regenerate.
  559. * config.h.in: Regenerate.
  560. 2005-10-24 Jerry DeLisle <jvdelisle@verizon.net>
  561. PR libfortran/24224
  562. * libgfortran.h: Remove array stride error code.
  563. * runtime/error.c: Remove array stride error.
  564. * io/io.h: Change name of 'nml_loop_spec' to 'array_loop_spec' to be
  565. generic. Add pointer to array_loop_spec and rank to gfc_unit
  566. structure.
  567. * io/list_read.c: Revise nml_loop_spec references to array_loop_spec.
  568. * io/transfer.c (init_loop_spec): New function to initialize
  569. an array_loop_spec.
  570. (next_array_record): New function to return the index to the next array
  571. record by incrementing through the array_loop_spec.
  572. (next_record_r): Use new function.
  573. (next_record_w): Use new function.
  574. (finalize_transfer): Free memory allocated for array_loop_spec.
  575. * io/unit.c (get_array_unit_len): Delete this function. Use new
  576. function init_loop_spec to initialize the array_loop_spec.
  577. 2005-10-24 Paul Thomas <pault@gcc.gnu.org>
  578. PR fortran/24416
  579. * libgfortran/io/list_read.c (namelist_read): Exit with call to
  580. free_saved () so that character strings do not accumulate.
  581. 2005-10-23 Jerry DeLisle <jvdelisle@verizon.net>
  582. PR libfortran/24489
  583. * io/transfer.c (read_block): Change the order of execution to not read
  584. past end-of-record.
  585. (read_block_direct): Same change.
  586. 2005-10-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  587. PR libfortran/23272
  588. * acinclude.m4 (LIBGFOR_CHECK_WORKING_STAT): New check.
  589. * configure.ac: Use LIBGFOR_CHECK_WORKING_STAT.
  590. * Makefile.in: Regenerate.
  591. * configure: Regenerate.
  592. * config.h.in: Regenerate.
  593. * aclocal.m4: Regenerate.
  594. * io/unix.c (compare_file_filename): Add fallback case for
  595. systems without working stat.
  596. * io/open.c (already_open): Correct call to
  597. compare_file_filename.
  598. * io/io.h: Correct proto for compare_file_filename.
  599. 2005-10-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  600. * runtime/fpu.c: Add _GNU_SOURCE definition.
  601. * config/fpu-glibc.h: Remove __USE_GNU definition.
  602. 2005-10-23 Paul Thomas <pault@gcc.gnu.org>
  603. PR fortran/24384
  604. * intrinsics/spread_generic.c (spread_internal_scalar): New
  605. function that handles the special case of spread with a scalar
  606. source. This has new interface functions -
  607. (spread_scalar, spread_char_scalar): New functions to interface
  608. with the calls specified in gfc_resolve_spread.
  609. 2005-10-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  610. PR libfortran/24383
  611. * io/unix.c: Add fallback definition for SSIZE_MAX.
  612. 2005-10-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  613. * c99_protos.h: Define preprocessor HAVE_ macros with value 1
  614. instead of empty value.
  615. * intrinsics/c99_functions.c: Likewise.
  616. * intrinsics/getXid.c: Define HAVE_GETPID with value 1 instead of
  617. empty value.
  618. * intrinsics/sleep.c: Define HAVE_SLEEP with value 1 instead of
  619. empty value.
  620. 2005-10-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  621. PR libfortran/24432
  622. * c99_protos.h: Define HAVE_ macros for all provided functions.
  623. 2005-10-14 Uros Bizjak <uros@kss-loka.si>
  624. * config/fpu-387.h (set_fpu): Remove extra ":" in stmxcsr.
  625. Change cw and cw_sse variables to unsigned.
  626. (SSE): New definition.
  627. (has_sse): Use it.
  628. 2005-10-13 Thomas Koenig <Thomas.Koenig@online.de>
  629. * io/unix.c(fd_alloc_r_at): Use read() instead of do_read()
  630. only in case of special files (e.g. terminals).
  631. 2005-10-13 Uros Bizjak <uros@kss-loka.si>
  632. * config/fpu-387.h (set_fpu): Add "=m" for stmxcsr.
  633. 2005-10-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  634. * Makefile.am: Add fpu.c to the build process, and
  635. target-dependent code as fpu-target.h.
  636. * Makefile.in: Regenerate.
  637. * configure.ac: Add call to configure.host to set
  638. FPU_HOST_HEADER.
  639. * configure: Regenerate.
  640. * configure.host: New script to determine which host-dependent
  641. code should go in.
  642. * libgfortran.h: Add fpe option, remove previous fpu_ options.
  643. Add bitmasks for different FPE traps. Add prototype for set_fpu.
  644. * runtime/environ.c: Remove environment variables to control
  645. fpu behaviour.
  646. * runtime/fpu.c (set_fpe): New function for the front-end.
  647. * runtime/main.c (init): Set FPU state.
  648. * config: New directory to store host-dependent code.
  649. * config/fpu-387.h: New file with code handling the i387 FPU.
  650. * config/fpu-glibc.h: New file with code for glibc systems.
  651. * config/fpu-generic.h: Fallback for the most generic host. Issue
  652. warnings.
  653. 2005-10-12 Janne Blomqvist <jblomqvi@cc.hut.fi>
  654. * io/unix.c(fd_alloc_r_at): Remove parts of patch of 2005/10/07 that
  655. cause input from the terminal to hang.
  656. 2005-10-11 Steven G. Kargl <kargls@comcast.net>
  657. PR libfortran/24313
  658. * c99_functions.c (csqrtf, csqrt): Fix choice of branch cut. Note
  659. csqrt{f} were imported from glibc, and this bug is still present
  660. there. glibc PR is 1146.
  661. 2005-10-07 Janne Blomqvist <jblomqvi@cc.hut.fi>
  662. PR fortran/16339
  663. PR fortran/23363
  664. * io/io.h: Add read and write members to stream, define access
  665. macros.
  666. * io/transfer.c (read_block_direct): New function.
  667. (write_block_direct): New function.
  668. (unformatted_read): Change to use read_block_direct.
  669. (unformatted_write): Change to use write_block_direct.
  670. * io/unix.c: Remove mmap includes and defines.
  671. (writen): Remove.
  672. (readn): Remove.
  673. (reset_stream): New function.
  674. (do_read): New function.
  675. (do_write): New function.
  676. (fd_flush): Change to use do_write() instead of writen().
  677. (fd_alloc_r_at): Change to use do_read().
  678. (fd_seek): Change return type to try, as the prototype. Add check
  679. to avoid syscall overhead if possible.
  680. (fd_read): New function.
  681. (fd_write): New function.
  682. (fd_open): Set pointers for new functions.
  683. (mem_read): New function.
  684. (mem_write): New function.
  685. (open_internal): Set pointers for new functions.
  686. (is_seekable): Clean up comment.
  687. 2005-10-07 Jerry DeLisle <jvdelisle@verizon.net>
  688. * io/transfer.c (write_block): Add test for end-of-file condition,
  689. removed from mem_alloc_w_at. (next_record_w): Clean up checks for
  690. NULL pointer returns from s_alloc_w.
  691. * io/unix.c (mem_alloc_w_at): Remove call to generate_error end-of-file.
  692. * io/write.c (write_float): Add checks for NULL pointer returns from
  693. write_block calls. (write_integer): Same.
  694. 2005-10-03 Jakub Jelinek <jakub@redhat.com>
  695. * runtime/memory.c (allocate_size): Malloc 1 byte if size == 0.
  696. 2005-10-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  697. PR libfortran/19308
  698. PR libfortran/22437
  699. * Makefile.am: Add generated files for large real and integers
  700. kinds. Add a rule to create the kinds.inc c99_protos.inc files.
  701. Use kinds.inc to preprocess Fortran generated files.
  702. * libgfortran.h: Add macro definitions for GFC_INTEGER_16_HUGE,
  703. GFC_REAL_10_HUGE and GFC_REAL_16_HUGE. Add types gfc_array_i16,
  704. gfc_array_r10, gfc_array_r16, gfc_array_c10, gfc_array_c16,
  705. gfc_array_l16.
  706. * mk-kinds-h.sh: Define macros HAVE_GFC_LOGICAL_* and
  707. HAVE_GFC_COMPLEX_* when these types are available.
  708. * intrinsics/ishftc.c (ishftc16): New function for GFC_INTEGER_16.
  709. * m4/all.m4, m4/any.m4, m4/count.m4, m4/cshift1.m4, m4/dotprod.m4,
  710. m4/dotprodc.m4, m4/dotprodl.m4, m4/eoshift1.m4, m4/eoshift3.m4,
  711. m4/exponent.m4, m4/fraction.m4, m4/in_pack.m4, m4/in_unpack.m4,
  712. m4/matmul.m4, m4/matmull.m4, m4/maxloc0.m4, m4/maxloc1.m4,
  713. m4/maxval.m4, m4/minloc0.m4, m4/minloc1.m4, m4/minval.m4, m4/mtype.m4,
  714. m4/nearest.m4, m4/pow.m4, m4/product.m4, m4/reshape.m4,
  715. m4/set_exponent.m4, m4/shape.m4, m4/specific.m4, m4/specific2.m4,
  716. m4/sum.m4, m4/transpose.m4: Protect generated functions with
  717. appropriate "#if defined (HAVE_GFC_type_kind)" preprocessor directives.
  718. * Makefile.in: Regenerate.
  719. * all files in generated/: Regenerate.
  720. 2005-10-01 Jakub Jelinek <jakub@redhat.com>
  721. * runtime/memory.c (malloc_t): Remove.
  722. (GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove.
  723. (mem_root, runtime_cleanup, malloc_with_header): Remove.
  724. (internal_malloc_size): Use just get_mem if size != 0, return NULL
  725. otherwise.
  726. (internal_free): Just free if non-NULL.
  727. (internal_realloc_size): Remove debugging stuff.
  728. (allocate_size): Use malloc directly, remove debugging stuff.
  729. (deallocate): Use free directly, fix error message wording.
  730. * libgfortran.h (GFC_ITOA_BUF_SIZE, GFC_XTOA_BUF_SIZE,
  731. GFC_OTOA_BUF_SIZE, GFC_BTOA_BUF_SIZE): Define.
  732. (gfc_itoa, xtoa): Add 2 extra arguments.
  733. * runtime/environ.c: Include stdio.h.
  734. (check_buffered): Use sprintf.
  735. * runtime/error.c: Include assert.h.
  736. (gfc_itoa, xtoa): Add 2 extra arguments, avoid using static
  737. buffers.
  738. (st_printf, st_sprintf): Adjust callers.
  739. * io/write.c (otoa, btoa): Add 2 extra arguments, avoid using
  740. static buffers.
  741. (write_int, write_decimal): Add 2 extra arguments to conv
  742. function pointer, adjust caller.
  743. (write_integer): Adjust gfc_itoa caller.
  744. * io/unit.c (get_array_unit_len): Return 0 rather than NULL.
  745. * io/read.c (read_f): Remove spurious pointer dereference.
  746. 2005-09-30 Janne Blomqvist <jblomqvi@cc.hut.fi>
  747. PR 24112
  748. * io/open.c (edit_modes): Check for correct flag.
  749. 2005-09-29 Jakub Jelinek <jakub@redhat.com>
  750. * runtime/string.c (find_option): Change 3rd argument to
  751. const st_option *.
  752. * libgfortran.h (find_option): Likewise.
  753. * runtime/environ.c (rounding, precision, signal_choices): Constify.
  754. (init_choice, show_choice): Change 2nd argument to const choice *.
  755. * io/open.c (access_opt, action_opt, blank_opt, delim_opt, form_opt,
  756. position_opt, status_opt, pad_opt): Constify.
  757. * io/transfer.c (advance_opt): Likewise.
  758. * io/inquire.c (undefined): Likewise.
  759. * io/close.c (status_opt): Likewise.
  760. * io/format.c (posint_required, period_required, nonneg_required,
  761. unexpected_element, unexpected_end, bad_string, bad_hollerith,
  762. reversion_error): Likewise.
  763. * io/unix.c (yes, no, unknown): Change from const char *
  764. into const char [].
  765. 2005-09-27 Steve Ellcey <sje@cup.hp.com>
  766. PR target/23552
  767. * acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): New.
  768. (LIBGFOR_CHECK_FOR_BROKEN_ISNAN): New.
  769. (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): New.
  770. * configure.ac (LIBGFOR_CHECK_FOR_BROKEN_ISFINITE): Add use.
  771. (LIBGFOR_CHECK_FOR_BROKEN_ISNAN): Add use.
  772. (LIBGFOR_CHECK_FOR_BROKEN_FPCLASSIFY): Add use.
  773. * configure: Regenerate.
  774. * config.h.in: Regenerate.
  775. * libgfortan.h (isfinite): undef if broken, set if needed.
  776. (isnan): undef if broken, set if needed.
  777. (fpclassify): undef if broken, set if needed.
  778. * io/write.c: Remove TODO comment about working isfinite.
  779. * intrinsics/c99_functions.c (round): Use isfinite instead
  780. of fpclassify.
  781. * intrinsics/c99_functions.c (roundf): Ditto.
  782. 2005-09-24 Janne Blomqvist <jblomqvi@cc.hut.fi>
  783. * io.h: Changed prototypes of list_formatted_{read|write}.
  784. * list_read.c (list_formatted_read): Renamed to
  785. list_formatted_read_scalar and made static.
  786. (list_formatted_read): New function.
  787. * transfer.c: Prototype for transfer_array. Changed transfer
  788. function pointer.
  789. (unformatted_read): Add nelems argument, use it.
  790. (unformatted_write): Likewise.
  791. (formatted_transfer): Changed name to formatted_transfer_scalar.
  792. (formatted_transfer): New function.
  793. (transfer_integer): Add nelems argument to transfer call, move
  794. updating item count to transfer functions.
  795. (transfer_real): Likewise.
  796. (transfer_logical): Likewise.
  797. (transfer_character): Likewise.
  798. (transfer_complex): Likewise.
  799. (transfer_array): New function.
  800. (data_transfer_init): Call formatted_transfer with new argument.
  801. (iolength_transfer): New argument, use it.
  802. * write.c (list_formatted_write): Renamed to
  803. list_formatted_write_scalar, made static.
  804. (list_formatted_write): New function.
  805. 2005-09-26 David Edelsohn <edelsohn@gnu.org>
  806. * configure.ac: Add check for __clog.
  807. * configure: Regenerate.
  808. 2005-09-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  809. * c99_protos.h: Add prototypes for C99 complex functions.
  810. * libgfortran.h: Include complex.h before c99_protos.h.
  811. * intrinsics/c99_functions.c: Define HAVE_ macros for the
  812. fallback functions we provide.
  813. (cabsf, cabs, cabsl, cargf, carg, cargl, cexpf, cexp, cexpl,
  814. clogf, clog, clogl, clog10f, clog10, clog10l, cpowf, cpow, cpowl,
  815. cqsrtf, csqrt, csqrtl, csinhf, csinh, csinhl, ccoshf, ccosh,
  816. ccoshl, ctanhf, ctanh, ctanhl, csinf, csin, csinl, ccosf, ccos,
  817. ccosl, ctanf, ctan, ctanl): New fallback functions.
  818. * Makefile.am (gfor_math_trig_c, gfor_math_trig_obj,
  819. gfor_specific_c, gfor_cmath_src, gfor_cmath_obj): Remove.
  820. * Makefile.in: Regenerate.
  821. * configure.ac: Remove checks for csin. Add checks for all C99
  822. complex functions.
  823. * config.h.in: Regenerate.
  824. * configure: Regenerate.
  825. * aclocal.m4: Regenerate.
  826. 2005-09-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  827. Danny Smith <dannysmith@users.sourceforge.net>
  828. PR libfortran/23803
  829. * intrinsics/getXid.c: Add getpid wrapper for MinGW.
  830. * intrinsics/getlog.c: Add getlogin wrapper for MinGW.
  831. * intrinsics/hostnm.c: Add gethostname wrapper for MinGW.
  832. 2005-09-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  833. PR libfortran/23802
  834. * intrinsics/sleep.c: Add correct sleep macro for MinGW.
  835. 2005-09-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  836. PR libfortran/23380
  837. * intrinsics/cpu_time.c (__cpu_time_1): Provide a MS Windows
  838. version.
  839. 2005-09-14 Jerry DeLisle <jvdelisle@verizon.net
  840. PR fortran/21875 Internal Unit Array I/O, NIST
  841. * libgfortran.h: Add run time error code for array stride.
  842. * runtime/error.c (translate_error): Add error message for
  843. array stride.
  844. * io/io.h: Add array descriptor pointer to IOPARM structure.
  845. Add prtotypes for two new functions.
  846. * io/transfer.c (data_transfer_init): Removed initialization and
  847. moved to unit.c (get_unit)
  848. * io/transfer.c (next_record_r): Include internal unit read
  849. functionality.
  850. * io/transfer.c (next_record_w): Include internal unit write
  851. functionality, including padding of character array records.
  852. * io/unit.c (get_array_unit_len): New function to return the number
  853. of records in the character array 'file' from the array descriptor.
  854. * io/unit.c (get_unit): Gathered initialization code from
  855. init_data_transfer for internal units and added initialization of
  856. character array unit.
  857. * io/unit.c (is_array_io): New function to determine if internal unit
  858. is an array.
  859. * io/unix.c (mem_alloc_w_at): Add error checks for bad record length
  860. and end of file.
  861. 2005-09-13 Richard Sandiford <richard@codesourcery.com>
  862. PR target/19269
  863. * intrinsics/cshift0.c (cshift0): Add an extra size argument.
  864. (cshift0_1, cshift0_2, cshift0_4, cshift0_8): Replace explicit
  865. implementations with...
  866. (DEFINE_CSHIFT): ...this new macro. Define character versions too.
  867. * intrinsics/eoshift0.c (zeros): Delete.
  868. (eoshift0): Add extra size and filler arguments. Use memset if no
  869. bound is provided.
  870. (eoshift0_1, eoshift0_2, eoshift0_4, eoshift0_8): Replace explicit
  871. implementations with...
  872. (DEFINE_EOSHIFT): ...this new macro. Define character versions too.
  873. * intrinsics/eoshift2.c (zeros): Delete.
  874. (eoshift2): Add extra size and filler arguments. Use memset if no
  875. bound is provided.
  876. (eoshift2_1, eoshift2_2, eoshift2_4, eoshift2_8): Replace explicit
  877. implementations with...
  878. (DEFINE_EOSHIFT): ...this new macro. Define character versions too.
  879. * intrinsics/pack.c (pack_internal): New static function, reusing
  880. the contents of pack and adding an extra size argument. Change
  881. "mptr" rather than "m" when calculating the array size.
  882. (pack): Redefine as a forwarder to pack_internal.
  883. (pack_s_internal): New static function, reusing the contents of
  884. pack_s and adding an extra size argument.
  885. (pack_s): Redefine as a forwarder to pack_s_internal.
  886. (pack_char, pack_s_char): New functions.
  887. * intrinsics/reshape.c (reshape_internal): New static function,
  888. reusing the contents of reshape and adding an extra size argument.
  889. (reshape): Redefine as a forwarder to reshape_internal.
  890. (reshape_char): New function.
  891. * intrinsics/spread.c (spread_internal): New static function,
  892. reusing the contents of spread and adding an extra size argument.
  893. (spread): Redefine as a forwarder to spread_internal.
  894. (spread_char): New function.
  895. * intrinsics/transpose.c (transpose_internal): New static function,
  896. reusing the contents of transpose and adding an extra size argument.
  897. (transpose): Redefine as a forwarder to transpose_internal.
  898. (transpose_char): New function.
  899. * intrinsics/unpack.c (unpack_internal): New static function, reusing
  900. the contents of unpack1 and adding extra size and fsize arguments.
  901. (unpack1): Redefine as a forwarder to unpack_internal.
  902. (unpack0): Call unpack_internal instead of unpack1.
  903. (unpack1_char, unpack0_char): New functions.
  904. * m4/cshift1.m4 (cshift1): New static function, reusing the contents
  905. of cshift1_<kind> and adding an extra size argument.
  906. (cshift1_<kind>): Redefine as a forwarder to cshift1.
  907. (cshift1_<kind>_char): New function.
  908. * m4/eoshift1.m4 (zeros): Delete.
  909. (eoshift1): New static function, reusing the contents of
  910. eoshift1_<kind> and adding extra size and filler arguments.
  911. Fix calculation of hstride. Use memset if no bound is provided.
  912. (eoshift1_<kind>): Redefine as a forwarder to eoshift1.
  913. (eoshift1_<kind>_char): New function.
  914. * m4/eoshift3.m4 (zeros): Delete.
  915. (eoshift3): New static function, reusing the contents of
  916. eoshift3_<kind> and adding extra size and filler arguments.
  917. Use memset if no bound is provided.
  918. (eoshift3_<kind>): Redefine as a forwarder to eoshift3.
  919. (eoshift3_<kind>_char): New function.
  920. * generated/cshift1_4.c, generated/cshift1_8.c,
  921. * generated/eoshift1_4.c, generated/eoshift1_8.c,
  922. * generated/eoshift3_4.c, generated/eoshift3_8.c: Regenerate.
  923. 2005-09-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  924. PR libfortran/20179
  925. * io/unix.c (is_preconnected): Add function to test if a stream
  926. corresponds to a preconnected unit.
  927. * io/io.h: Add prototype for is_preconnected.
  928. * io/transfer.c (data_transfer_init): Do not truncate
  929. preconnected units.
  930. 2005-09-10 Janne Blomqvist <jblomqvi@cc.hut.fi>
  931. * io/unix.c: Remove mmap code.
  932. 2005-09-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  933. PR libfortran/23784
  934. * io/close.c (st_close): Call library_end even in case of error.
  935. 2005-09-09 Thomas Koenig <Thomas.Koenig@online.de>
  936. * io/io.h: Add iomsg as last field of st_parameter.
  937. * runtime/error.c (generate_error): If iomsg is present, copy
  938. the message there.
  939. 2005-09-09 Richard Sandiford <richard@codesourcery.com>
  940. PR fortran/12840
  941. * runtime/memory.c (internal_malloc_size): Return a null pointer
  942. if the size is zero.
  943. (internal_free): Do nothing if the pointer is null.
  944. (internal_realloc_size, internal_realloc, internal_realloc64): New.
  945. 2005-09-07 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  946. PR libfortran/23262
  947. * acinclude.m4 (LIBGFOR_CHECK_CRLF): New check.
  948. * configure.ac: Use new check.
  949. * configure.in: Regenerate.
  950. * config.h.in: Regenerate.
  951. * configure: Regenerate.
  952. * io/transfer.c (next_record_w): Add case for CRLF as line
  953. terminator.
  954. * io/unix.c (tempfile, regular_file): Open files with
  955. O_BINARY on systems with CRLF.
  956. 2005-09-07 Steve Ellcey <sje@cup.hp.com>
  957. PR libfortran/23419
  958. * io/write.c (extract_int): Use memcpy to access buffer.
  959. (extract_uint): Ditto.
  960. (extract_real): Ditto.
  961. 2005-09-05 Thomas Koenig <Thomas.Koenig@online.de>
  962. * io/list_read.c: Adjust size of of value to 32 (to hold
  963. kind=16 complex values).
  964. 2005-09-04 Thomas Koenig <Thomas.Koenig@online.de>
  965. PR libfortran/23321
  966. * io/transfer.c(data_transfer_init): Check for a too-large
  967. record number. Return if sseek failed.
  968. 2005-09-03 Jakub Jelinek <jakub@redhat.com>
  969. * io/read.c (read_x): Take int argument instead of fnode * and
  970. digging the N from F->u.n.
  971. * io/io.h (read_x): Adjust prototype.
  972. * io/transfer.c (formatted_transfer): Adjust callers. Don't clobber
  973. f->u.n for FMT_T.
  974. 2005-09-02 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  975. * io/unix.c (stream_ttyname): Protect use of ttyname by
  976. HAVE_TTYNAME macro.
  977. * configure.ac: Add check for ttyname.
  978. * config.h.in: Regenerate.
  979. * configure: Regenerate.
  980. 2005-09-02 Andreas Jaeger <aj@suse.de>
  981. * libgfortran.h: Add prototype for init_compile_options.
  982. * io/io.h: Add prototype for notify_std.
  983. 2005-08-31 Steve Ellcey <sje@cup.hp.com>
  984. * io/read.c (set_integer): Use memcpy to fill buffer.
  985. 2005-08-31 Steve Ellcey <sje@cup.hp.com>
  986. PR target/23556
  987. * io/read.c (convert_real): Use memcpy to fill buffer.
  988. 2005-08-29 Thomas Koenig <Thomas.Koenig@online.de>
  989. PR libfortran/23598
  990. * io/lock.c(library_start): If ioparm.iostat is present, clear
  991. it unconditionally.
  992. 2005-08-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  993. * acinclude.m4 (LIBGFOR_CHECK_UNLINK_OPEN_FILE): Add check to see
  994. if target can unlink open files.
  995. * configure.ac: Use this new test.
  996. * config.h.in: Regenerate.
  997. * configure: Regenerate.
  998. * Makefile.in: Regenerate.
  999. * aclocal.ac: Regenerate.
  1000. * io/io.h: Add prototype for unpack_filename.
  1001. * io/close.c (st_close): Delete file after closing unit if
  1002. HAVE_UNLINK_OPEN_FILE is not defined.
  1003. * io/unix.c (unpack_filename): Unlink scratch file after opening
  1004. it only if HAVE_UNLINK_OPEN_FILE is defined.
  1005. 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
  1006. * All files: Update FSF address.
  1007. 2005-08-16 Thomas Koenig <Thomas.Koenig@online.de>
  1008. PR libfortran/23428
  1009. * io/transfer.c (iolength_transfer): Remove __attribute__ ((unused))
  1010. from type. Return correct length for inquire(iolength=)
  1011. for complex variables.
  1012. 2005-08-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1013. Steven Bosscher <stevenb@suse.de>
  1014. PR libfortran/20006
  1015. * Makefile.am: Add file runtime/compile_options.c.
  1016. * Makefile.in: Regenerate.
  1017. * libgfortran.h: Create structure compile_options_t. Define the
  1018. compile_options variable and GFC_STD_ macros.
  1019. * runtime/compile_options.c: New file.
  1020. * runtime/error.c (notify_std): New function.
  1021. * runtime/main.c (init): Call init_compile_options during
  1022. initialization.
  1023. * io/format.c: Use the new notify_std function for the $
  1024. descriptor extension.
  1025. 2005-08-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1026. * Makefile.am: Add file intrinsics/tty.c to Makefile process.
  1027. * Makefile.in: Regenerate.
  1028. * io/io.h: Prototypes for new functions stream_isatty and
  1029. stream_ttyname.
  1030. * io/unix (stream_isatty, stream_ttyname): New functions to call
  1031. isatty() and ttyname() on a given unit.
  1032. * intrinsics/tty.c: New file to implement g77 intrinsics TTYNAM
  1033. and ISATTY.
  1034. 2005-08-08 Jerry DeLisle <jvdelisle@verizon.net>
  1035. PR libfortran/23154
  1036. * io/transfer.c (data_transfer_init): Initialize
  1037. current_unit->bytes_left for a read.
  1038. 2005-08-07 Janne Blomqvist <jblomqvi@cc.hut.fi>
  1039. PR fortran/22390
  1040. * io/backspace.c: File removed, contents moved to ...
  1041. * io/endfile.c: Ditto.
  1042. * io/rewind.c: Ditto.
  1043. * io/file_pos.c: New file, ... here.
  1044. * Makefile.am: Add file_pos.c to list, remove obsolete files.
  1045. * Makefile.in: Regenerated.
  1046. 2005-08-07 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1047. * io/io.h: Change DEFAULT_TEMPDIR to /tmp instead of /var/tmp.
  1048. * io/unix.c (tempfile): Look at the TEMP environment variable
  1049. to find the temporary files directory. Whitespace correction.
  1050. 2005-08-06 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1051. * io/unix.c: Add O_RDWR to open() call.
  1052. 2005-08-04 Paul Thomas <pault@gcc.gnu.org>
  1053. * transfer.c (data_transfer_init): Truncate file in
  1054. sequential WRITE when last_record == 0, rather than
  1055. current_record. Cures problem on RH9.
  1056. 2005-08-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1057. * libgfortran.h: When isfinite is not provided by the system,
  1058. define it as a macro, so that it can accept any floating point
  1059. type.
  1060. 2005-08-01 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1061. PR libfortran/23178
  1062. * intrinsics/flush.c (flush_i8): Add function flush_i8. Update
  1063. copyright years.
  1064. 2005-07-31 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1065. PR libfortran/21787
  1066. * intrinsics/abort.c (abort): Close units before aborting.
  1067. Updated copyright years.
  1068. 2005-07-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1069. PR libfortran/22436
  1070. * io/write.c (write_real): Add default formats for real(10) and
  1071. real(16).
  1072. 2005-07-30 Paul Thomas <pault@gcc.gnu.org>
  1073. PR fortran/22570 and related issues.
  1074. * transfer.c (formatted_transfer): Make sure that there
  1075. really is data present before X- or T- editing. Move all
  1076. treatment of tabbing during writes to start of next data
  1077. producing format. Suppress incorrect zeroing of bytes_left
  1078. in slash formating. Insert int cast for assignment of a
  1079. difference of two gfc_offsets.
  1080. 2005-07-23 Jerry DeLisle <jvdelisle@verizon.net>
  1081. * io/write.c (write_float): Revise output of IEEE exceptional
  1082. values to comply with F95 and F2003 standards.
  1083. 2005-07-22 Jerry DeLisle <jvdelisle@verizon.net>
  1084. PR libfortran/22570
  1085. * io/unit.c (init_units): Replace BLANK_ZERO with
  1086. BLANK_UNSPECIFIED.
  1087. 2005-07-22 Jerry DeLisle <jvdelisle@verizon.net>
  1088. PR libfortran/21875 (FM111.f)
  1089. * io/read.c (next_char): Return a ' ' character when BLANK_ZERO
  1090. or BLANK_NULL are active.
  1091. (read_decimal): Interpret ' ' character correctly for BZ or BN.
  1092. (read_radix): Interpret ' ' character correctly for BZ or BN.
  1093. (read_f): Interpret ' ' character correctly for BZ or BN.
  1094. 2005-07-22 Paul Thomas <pault@gcc.gnu.org>
  1095. PR libfortran/22570
  1096. * read.c (read_x): Correct the condition for doing the
  1097. x-editing during formatted input.
  1098. * transfer.c (formatted_transfer): Cast offset difference
  1099. as int, clean-up arithmetic with new variable, bytes_used,
  1100. zero counters for FMT_SLASH,
  1101. (data_transfer_init) Zero X- and T-editing counters
  1102. unconditionally.
  1103. (next_record_w) Zero X- and T-editing counters.
  1104. unconditionally.
  1105. 2005-07-17 Jerry DeLisle <jvdelisle@verizon.net>
  1106. * io/write.c (write_float): Fix field width checks for
  1107. printing 'Infinity' or 'Inf'.
  1108. (output_float): Fix typo in comment.
  1109. 2005-07-12 Paul Thomas <pault@gcc.gnu.org>
  1110. PR libfortran/16435
  1111. * transfer.c (formatted_transfer): Correct the problems
  1112. with X- and T-editting that caused TLs followed by TRs
  1113. to overwrite data, which caused NIST FM908.FOR to fail
  1114. on many tests.
  1115. (data_transfer_init): Zero X- and T-editting counters at
  1116. the start of formatted IO.
  1117. * write.c (write_x): Write specified number of skips with
  1118. specified number of spaces at the end.
  1119. 2005-07-13 Paul Thomas <pault@gcc.gnu.org>
  1120. * io/read.c (read_complex): Prevent X formatting during reads
  1121. from going beyond EOR to fix NIST fm908.FOR failure.
  1122. * io/list_read.c (read_complex): Allow complex data in list-
  1123. directed reads to have eols either side of the comma to
  1124. fix NIST FM906.FOR failure.
  1125. 2005-07-12 Thomas Koenig <Thomas.Koenig@online.de>
  1126. PR libfortran/21593
  1127. * io/unix.c: Add member special_file to type unix_stream.
  1128. (fd_truncate): Don't call ftruncate or chsize if
  1129. s refers to a special file.
  1130. (fd_to_stream): initialize s->special_file.
  1131. 2005-07-11 David Edelsohn <edelsohn@gnu.org>
  1132. PR libfortran/22412
  1133. * io/write.c (otoa): Bias p by SCRATCH_SIZE, not
  1134. sizeof (SCRATCH_SIZE).
  1135. (btoa): Same.
  1136. 2005-07-09 Jerry DeLisle <jvdelisle@verizon.net>
  1137. PR libfortran/21875 (FM111.f)
  1138. * io/read.c (next_char): Return a ' ' character when BLANK_ZERO or
  1139. BLANK_NULL are active.
  1140. (read_decimal): Interpret ' ' character correctly for BZ or BN.
  1141. (read_radix): Interpret ' ' character correctly for BZ or BN.
  1142. (read_f): Interpret ' ' character correctly for BZ or BN.
  1143. * gfortran.dg/test (fmt_read_bz_bn.f90): New test case.
  1144. 2005-07-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1145. Thomas Koenig <Thomas.Koenig@online.de>
  1146. PR libfortran/22217
  1147. * io/write.c (extract_unit): New function; extract
  1148. ints as unsigned signed int of the correct size.
  1149. (write_int): Use it.
  1150. * runtime/error.c: Adjust copyright years.
  1151. Adjust size of buffer to maximum that can occur.
  1152. 2005-07-07 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  1153. * libgfortran.h (GFC_ARRAY_DESCRIPTOR): Replace 'type *base' by
  1154. 'size_t offset'.
  1155. * intrinsics/cshift0.c, intrinsics/eoshift0.c,
  1156. intrinsics/eoshift2.c,intrinsics/pack_generic.c,
  1157. intrinsics/reshape_generic.c, intrinsics/spread_generic.c,
  1158. intrinsics/transpose_generic.c, intrinsics/unpack_generic,
  1159. m4/cshift1.m4, m4/eoshift1.m4, m4/eoshift3.m4, m4/iforeach.m4,
  1160. m4/ifunction.m4, m4/matmul.m4, m4/matmull.m4, m4/reshape.m4,
  1161. m4,transpose.m4: Set renamed field 'offset' to zero instead of
  1162. 'base'.
  1163. * generated/all_l4.c, generated/all_l8.c,
  1164. generated/any_l4.c, generated/any_l8.c, generated/count_4_l4.c,
  1165. generated/count_4_l8.c, generated/count_8_l4.c,
  1166. generated/count_8_l8.c, generated/chift1_4.c,
  1167. generated/cshift1_8.c, generated/eoshift1_4.c,
  1168. generated/eoshift1_8.c, generated/eoshift3_4.c,
  1169. generated/eoshift3_8.c, generated/matmul_c4.c,
  1170. generated/matmul_c8.c, generated/matmul_i4.c, matmul_i8.c,
  1171. generated/matmul_l4.c, generated/matmul_l8.c,
  1172. generated/matmul_r4.c, generated/matmul_r8.c,
  1173. generated/maxloc0_4_i4.c, generated/maxloc0_4_i8.c,
  1174. generated/maxloc0_4_r4.c, generated/maxloc0_4_r8.c,
  1175. generated/maxloc0_8_i4.c, generated/maxloc0_8_i8.c,
  1176. generated/maxloc0_8_r4.c, generated/maxloc0_8_r8.c,
  1177. generated/maxloc1_4_i4.c, generated/maxloc1_4_i8.c,
  1178. generated/maxloc1_4_r4.c, generated/maxloc1_4_r8.c,
  1179. generated/maxloc1_8_i4.c, generated/maxloc1_8_i8.c,
  1180. generated/maxloc1_8_r4.c, generated/maxloc1_8_r8.c,
  1181. generated/maxval_i4.c, generated/maxval_i8.c,
  1182. generated/maxval_r4.c, generated/maxval_r8.c,
  1183. generated/minloc0_4_i4.c, generated/minloc0_4_i8.c,
  1184. generated/minloc0_4_r4.c, generated/minloc0_4_r8.c,
  1185. generated/minloc0_8_i4.c, generated/minloc0_8_i8.c,
  1186. generated/minloc0_8_r4.c, generated/minloc0_8_r8.c,
  1187. generated/minloc1_4_i4.c, generated/minloc1_4_i8.c,
  1188. generated/minloc1_4_r4.c, generated/minloc1_4_r8.c,
  1189. generated/minloc1_8_i4.c, generated/minloc1_8_i8.c,
  1190. generated/minloc1_8_r4.c, generated/minloc1_8_r8.c,
  1191. generated/minval_i4.c, generated/minval_i8.c,
  1192. generated/minval_r4.c, generated/minval_r8.c,
  1193. generated/product_c4.c, generated/product_c8.c,
  1194. generated/product_i4.c, generated/product_i8.c,
  1195. generated/product_r4.c, generated/product_r8.c,
  1196. generated/reshape_c4.c, generated/reshape_c8.c,
  1197. generated/reshape_i4.c, generated/reshape_i8.c,
  1198. generated/sum_c4.c, generated/sum_c8.c, generated/sum_i4.c,
  1199. generated/sum_i8.c, generated/sum_r4.c, generated/sum_r8.c,
  1200. generated/transpose_c4.c, generated/transpose_c8.c,
  1201. generated/transpose_i4.c, generated/transpose_i8.c: Regenerate:
  1202. 2005-07-07 Thomas Koenig <Thomas.Koenig@online.de>
  1203. PR libfortran/21594
  1204. * intrinsics/eoshift0.c: If abs(shift) > len, fill the
  1205. the whole array with the boundary value, but don't overrun it.
  1206. * intrinsics/eoshift2.c: Likewise.
  1207. * m4/eoshift1.m4: Likewise.
  1208. * m4/eoshift3.m4: Likewise.
  1209. * generated/eoshift1_4.c: Regenerated.
  1210. * generated/eoshift1_8.c: Regenerated.
  1211. * generated/eoshift3_4.c: Regenerated.
  1212. * generated/eoshift3_8.c: Regenerated.
  1213. 2005-07-07 Feng Wang <fengwang@nudt.edu.cn>
  1214. PR fortran/16531
  1215. * io/transfer.c (formatted_transfer): Enable FMT_A on other types to
  1216. support Hollerith constants.
  1217. 2005-07-01 Andreas Jaeger <aj@suse.de>
  1218. * intrinsics/unpack_generic.c: Remove const from parameter.
  1219. * io/transfer.c (formatted_transfer): Remove unused variable.
  1220. 2005-06-28 Thomas Koenig <Thomas.Koenig@online.de>
  1221. PR libfortran/22142
  1222. * m4/eoshift1.m4: Correct bstride (it needs to be multiplied
  1223. by size since it's a char pointer).
  1224. * m4/eoshift1_4.c: Regenerated.
  1225. * m4/eoshift1_8.c: Regenerated.
  1226. 2005-06-28 Thomas Koenig <Thomas.Koenig@online.de>
  1227. PR libfortran/22142
  1228. * m4/eoshift3.m4: Correct bstride (it needs to be multiplied
  1229. by size since it's a char pointer).
  1230. * m4/eoshift3_4.c: Regenerated.
  1231. * m4/eoshift3_8.c: Regenerated.
  1232. 2005-06-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1233. PR libfortran/22170
  1234. * io/transfer.c (formatted_transfer): Do not iterate on the
  1235. repeat count of a FMT_SLASH, since this is already done in
  1236. next_format().
  1237. 2005-06-25 Thomas Koenig <Thomas.Koenig@online.de>
  1238. PR libfortran/22144
  1239. * m4/cshift1.m4: Remove const from argument ret.
  1240. Populate return array descriptor if ret->data is NULL.
  1241. * m4/eoshift1.m4: Likewise.
  1242. * m4/eoshift3.m4: Likewise.
  1243. * generated/cshift1_4.c: Regenerated.
  1244. * generated/cshift1_8.c: Regenerated.
  1245. * generated/eoshift1_4.c: Regenerated.
  1246. * generated/eoshift1_8.c: Regenerated.
  1247. * generated/eoshift3_4.c: Regenerated.
  1248. * generated/eoshift3_8.c: Regenerated.
  1249. 2005-06-24 Jerry DeLisle <jvdelisle@verizon.net>
  1250. PR libfortran/21915
  1251. * Makefile.am: Include intrinsics/hyper.c.
  1252. * c99_protos.h: Add prototypes for single precision versions of
  1253. acosh, asinh, and atanh for platforms that do not have these.
  1254. * config.h.in: Add #undef for wrappers.
  1255. * configure.ac: Add checks for single precision versions.
  1256. * aclocal.m4: Regenerated.
  1257. * Makefile.in: Regenerated.
  1258. * configure: Regenerated.
  1259. * intrinsics/hyper.c: New file, adds new wrapper functions.
  1260. 2005-06-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1261. * intrinsics/c99_functions.c (log10l): New log10l function for
  1262. systems where this is not available.
  1263. * c99_protos.h: Prototype for log10l function.
  1264. * libgfortran.h: Use generated kinds.h to define GFC_INTEGER_*,
  1265. GFC_UINTEGER_*, GFC_LOGICAL_*, GFC_REAL_*, GFC_COMPLEX_*. Update
  1266. prototypes for gfc_itoa and xtoa.
  1267. * io/io.h: Update prototypes for set_integer and max_value.
  1268. * io/list_read.c (convert_integer): Use new
  1269. GFC_(INTEGER|REAL)_LARGEST type.
  1270. * io/read.c (set_integer): Likewise.
  1271. (max_value): Likewise.
  1272. (convert_real): Likewise.
  1273. (real_l): Likewise.
  1274. (next_char): Likewise.
  1275. (read_decimal): Likewise.
  1276. (read_radix): Likewise.
  1277. (read_f): Likewise.
  1278. * io/write.c (extract_int): Use new GFC_INTEGER_LARGEST type.
  1279. (extract_real): Use new GFC_REAL_LARGEST type.
  1280. (calculate_exp): Likewise.
  1281. (calculate_G_format): Likewise.
  1282. (output_float): Likewise. Use log10l for long double values.
  1283. Add comment for sprintf format. Use GFC_REAL_LARGEST_FORMAT.
  1284. (write_l): Use new GFC_INTEGER_LARGEST type.
  1285. (write_float): Use new GFC_REAL_LARGEST type.
  1286. (write_int): Remove useless special case for (len < 8).
  1287. (write_decimal): Use GFC_INTEGER_LARGEST.
  1288. (otoa): Use GFC_UINTEGER_LARGEST as argument.
  1289. (btoa): Use GFC_UINTEGER_LARGEST as argument.
  1290. * runtime/error.c (gfc_itoa): Use GFC_INTEGER_LARGEST as
  1291. argument.
  1292. (xtoa): Use GFC_UINTEGER_LARGEST as argument.
  1293. * Makefile.am: Use mk-kinds-h.sh to generate header kinds.h
  1294. with all Fortran kinds available.
  1295. * configure.ac: Check for strtold and log10l.
  1296. * Makefile.in: Regenerate.
  1297. * aclocal.m4: Regenerate.
  1298. * configure: Regenerate.
  1299. * config.h.in: Regenerate.
  1300. * mk-kinds-h.sh: Configuration script for available integer
  1301. and real kinds.
  1302. 2005-06-18 Janne Blomqvist <jblomqvi@cc.hut.fi>
  1303. * unix.c (stream_at_bof): Don't assume that all non-mmapped files
  1304. are non-seekable.
  1305. (stream_at_eof): Likewise.
  1306. 2005-06-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1307. PR libfortran/19155
  1308. * io/read.c (convert_real): strtod can set errno to EINVAL on an
  1309. empty string, but we shouldn't have an error in that case.
  1310. 2005-06-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1311. PR libfortran/19216
  1312. * io/list_read.c (eat_separator): No need to call next_record,
  1313. even in non-namelist_mode.
  1314. 2005-06-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1315. * io/transfer.c (formatted_transfer): Fix typo in error message.
  1316. 2005-06-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1317. PR libfortran/16436
  1318. * io/transfer.c (read_sf): Correct updating of bytes_left field.
  1319. (formatted_transfer): Correct updating of bytes_left field and
  1320. reformatting code (comments and whitespace).
  1321. * io/unix.c (move_pos_offset): "active" field should not be
  1322. changed here. Whitespace corrections.
  1323. 2005-06-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1324. PR libfortran/21950
  1325. * intrinsics/c99_functions.c (scalbn): Provide fallback
  1326. implementation for scalbn.
  1327. * c99_protos.h: Prototype for scalbn.
  1328. * configure.ac: Add check for scalbn.
  1329. * configure: Regenerate.
  1330. * config.h.in: Regenerate.
  1331. 2005-06-14 Thomas Koenig <Thomas.Koenig@online.de>
  1332. * intrinsics/eoshift0.c: Removed prototype for eoshift0.
  1333. * intrinsics/eoshift2.c: Removed prototype for eoshift2.
  1334. 2005-06-14 Tom Tromey <tromey@redhat.com>
  1335. PR libgcj/19877:
  1336. * configure, aclocal.m4, Makefile.in: Rebuilt.
  1337. 2005-06-12 Thomas Koenig <Thomas.Koenig@online.de>
  1338. PR libfortran/21594
  1339. * intrinsics/eoshift0.c: Add prototype for eoshift0.
  1340. * intrinsics/eoshift2.c: Add prototype for eoshift2.
  1341. 2005-06-12 Steven G. Kargl <kargls@comcast.net>
  1342. Thomas Koenig <Thomas.Koenig@online.de>
  1343. PR libfortran/PR21797
  1344. * m4/cexp.m4 (csqrt`'q): Add type qualifyer to
  1345. sqrt and fabs.
  1346. * generated/exp_c4.c: Regenerated.
  1347. 2005-06-12 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1348. PR libfortran/19155
  1349. * io/read.c (read_f): Take care of spaces after initial sign.
  1350. 2005-06-11 Thomas Koenig <Thomas.Koenig@onlinde.de>
  1351. PR libfortran/21333
  1352. * Makefile.am: Add in_pack_c4.c, in_pack_c8.c, in_unpack_c4.c
  1353. and in_unpack_c8.c.
  1354. * Makefile.in: Regenerate.
  1355. * libgfortran.h: Declare internal_pack_c4, internal_pack_c8,
  1356. internal_unpack_c4 and internal_unpack_c8.
  1357. * m4/in_pack.m4: Use rtype_ccode insteald of rtype_kind
  1358. in function name.
  1359. Use sizeof (rtype_name) as size for memory allocation.
  1360. * m4/in_unpack.m4: Use rtype_ccode insteald of rtype_kind
  1361. in function name.
  1362. Use sizeof (rtype_name) for calculation of sizes for memcpy.
  1363. * runtime/in_pack_generic.c: For real, integer and logical
  1364. call internal_pack_4 if size==4 and internal_pack_8 if
  1365. size==8.
  1366. For complex, call internal_pack_c4 if size==8 and
  1367. internal_pack_c8 if size==16.
  1368. * runtime/in_unpack_generic.c: For real, integer and logical
  1369. call internal_unpack_4 if size==4 and internal_unpack_8 if
  1370. size==8.
  1371. For complex, call internal_unpack_c4 if size==8 and
  1372. internal_unpack_c8 if size==16.
  1373. * generated/in_pack_i4.c: Regenerated.
  1374. * generated/in_pack_i8.c: Regenerated.
  1375. * generated/in_unpack_i4.c: Regenerated.
  1376. * generated/in_unpack_i8.c: Regenerated.
  1377. * generated/in_pack_c4.c: New file.
  1378. * generated/in_pack_c8.c: New file.
  1379. * generated/in_unpack_c4.c: New file.
  1380. * generated/in_unpack_c8.c: New file.
  1381. 2005-06-09 Thomas Koenig <Thomas.Koenig@online.de>
  1382. PR libfortran/21480
  1383. * m4/reshape.m4: Use sizeof (rtype_name) for sizes to be passed
  1384. to reshape_packed.
  1385. * generated/reshape_c4.c: Regenerated.
  1386. * generated/reshape_c8.c: Regenerated.
  1387. * generated/reshape_i4.c: Regenerated.
  1388. * generated/reshape_i8.c: Regenerated.
  1389. 2005-06-07 Thomas Koenig <Thomas.Koenig@online.de>
  1390. PR libfortran/21926
  1391. * m4/matmul.m4: Correct zeroing of result for non-packed
  1392. arrays with lowest stride is one.
  1393. * generated/matmul_c4.c: Regenerated.
  1394. * generated/matmul_c8.c: Regenerated.
  1395. * generated/matmul_i4.c: Regenerated.
  1396. * generated/matmul_i8.c: Regenerated.
  1397. * generated/matmul_r4.c: Regenerated.
  1398. * generated/matmul_r8.c: Regenerated.
  1399. 2005-05-30 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1400. PR libfortran/20179
  1401. * io/unix.c (fd_close): Add test so that we don't close()
  1402. stdout and stderr.
  1403. 2005-05-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1404. PR libfortran/20006
  1405. * io/format.c (parse_format_list): Set repeat count of $ format
  1406. node to 1.
  1407. * io/transfer.c (read_sf): Add g.seen_dollar to the test
  1408. concerning advancing I/O.
  1409. (data_transfer_init): Likewise.
  1410. (finalize_transfer): Likewise.
  1411. 2005-05-27 Thomas Koenig <Thomas.Koenig@online.de>
  1412. * runtime/in_pack_generic.c: Adjust copyright years.
  1413. (in_pack_generic): Change dimension of auxiliary arrays from
  1414. GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
  1415. * runtime/in_unpack_generic.c: Adjust copyright years.
  1416. (in_unpack_generic): Change dimension of auxiliary arrays from
  1417. GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
  1418. 2005-05-26 Thomas Koenig <Thomas.Koenig@online.de>
  1419. PR libfortran/17283
  1420. * intrinsics/unpack_generic.c: Fix name of routine
  1421. on top. Update copyright years.
  1422. (unpack1): Remove const from return array descriptor.
  1423. rs: New variable, for calculating return sizes.
  1424. Populate return array descriptor if ret->data is NULL.
  1425. 2005-05-22 Peter Wainwright <prw@ceiriog1.demon.co.uk>
  1426. PR libfortran/21376
  1427. * io/write.c (output_float): Rework logic to avoid call to log10
  1428. with argument equal to zero.
  1429. 2005-05-21 Eric Botcazou <ebotcazou@libertysurf.fr>
  1430. * configure.ac: Check for trunc and truncf in libm.
  1431. * configure: Regenerate.
  1432. * config.h.in: Likewise.
  1433. * intrinsics/c99_functions.c (trunc, truncf): New functions.
  1434. * c99_protos.h (trunc, truncf): Declare them.
  1435. 2005-05-18 Thomas Koenig <Thomas.Koenig@online.de>
  1436. PR libfortran/21127
  1437. * Makefile.am: Really commit.
  1438. * Makefile.in: Really commit.
  1439. 2005-05-18 Thomas Koenig <Thomas.Koenig@online.de>
  1440. PR libfortran/21127
  1441. * Makefile.am: Add generated/reshape_c4.c and
  1442. generated/reshape_c8.c.
  1443. * Makefile.in: Regenerated.
  1444. * m4/iparm.m4: Define rtype_ccode to be c4 or c8 for
  1445. complex types, 4 or 8 otherwise.
  1446. * m4/reshape.m4: Use rtype_ccode instead of rtype_kind
  1447. in function name.
  1448. * generated/reshape_c4.c: New file.
  1449. * generated/reshape_c8.c: New file.
  1450. 2005-05-16 Andreas Jaeger <aj@suse.de>
  1451. * configure.ac: Add additional warning flags.
  1452. * configure: Regenerate.
  1453. * io/write.c (calculate_G_format): Remove unused parameter.
  1454. (output_float): Remove unused parameter.
  1455. (write_float): Change callers.
  1456. (nml_write_obj): Avoid signed warning.
  1457. Make variable const to support -Wwrite-strings.
  1458. * io/unix.c (fd_alloc, mmap_open, mmap_sfree, mem_sfree,
  1459. mem_truncate): Mark argument as unused.
  1460. * io/unit.c (get_unit): Mark argument as unused.
  1461. (init_units): Avoid warning about signed comparision.
  1462. * io/transfer.c (next_record_r): Remove unused parameter.
  1463. (next_record_w): Remove unused parameter.
  1464. (next_record): Change callers.
  1465. (iolength_transfer): Mark arguments as unused.
  1466. * io/open.c: Add initializer.
  1467. * io/list_read.c (read_character): Mark argument as unused.
  1468. (nml_match_name): Add const to make compile with -Wwrite-strings.
  1469. * io/format.c: Add initializer.
  1470. 2005-05-15 Andreas Jaeger <aj@suse.de>
  1471. * m4/eoshift1.m4: Initialize variables to avoid warnings.
  1472. * m4/eoshift3.m4: Initialize variables to avoid warnings.
  1473. * generated/eoshift1_4.c, generated/eoshift1_8.c,
  1474. generated/eoshift3_4.c, generated/eoshift3_8.c: Regenerated.
  1475. * intrinsics/spread_generic.c (spread): Initialize variables to
  1476. avoid warnings.
  1477. * intrinsics/eoshift0.c (eoshift0): Initialize variables to avoid
  1478. warnings.
  1479. * intrinsics/eoshift2.c (eoshift2): Initialize variables to avoid
  1480. warnings.
  1481. * io/list_read.c (nml_get_obj_data): Initialize variables to avoid
  1482. warnings.
  1483. * intrinsics/pack_generic.c (pack): Remove unneeded calculation.
  1484. * m4/matmull.m4 (matmul_): Remove unneeded calculations, fix
  1485. pointer cast to avoid warning.
  1486. * generated/matmul_l4.c: Regenerated.
  1487. * generated/matmul_l8.c: Regenerated.
  1488. * Makefile.am: Remove AM_CFLAGS here.
  1489. * configure.ac: Define AM_CFLAGS and AM_FCFLAGS so that warnings
  1490. are set. Set additionally -Wstrict-prototypes for CFLAGS.
  1491. * Makefile.in: Regenerated.
  1492. * aclocal.m4: Regenerated.
  1493. * configure: Regenerated.
  1494. * intrinsics/system_clock.c (system_clock_4, system_clock_8): Add
  1495. missing returns, reformat a bit.
  1496. * io/write.c (nml_write_obj): Use %d again - and cast to int,
  1497. st_sprintf does not handle %ld.
  1498. * io/unit.c (is_internal_unit): Add void as parameter list.
  1499. * io/transfer.c: Move prototype declarations before the functions.
  1500. * runtime/normalize.c (almostone_r4, almostone_r8): Fix parameter
  1501. list.
  1502. * intrinsics/random.c (KISS_DEFAULT_SEED): Remove extra semicolon.
  1503. * io/transfer.c: Do not use empty initializers for global objects.
  1504. Add missing initializers.
  1505. * io/lock.c: Do not use empty initializers for global objects.
  1506. * io/close.c: Add missing initializers.
  1507. * runtime/environ.c: Add missing initializers. Do not use empty
  1508. initializers for global object.
  1509. (init_string): Mark argument as unused.
  1510. * runtime/main.c (cleanup): Fix parameter list.
  1511. * io/io.h: Fix parameter lists.
  1512. * m4/transpose.m4, m4/matmul.m4: Fix pointer cast to avoid
  1513. warning.
  1514. * generated/transpose_c4.c, generated/transpose_c8.c,
  1515. generated/transpose_i4.c, generated/transpose_i8.c,
  1516. generated/matmul_c4.c, generated/matmul_c8.c,
  1517. generated/matmul_i4.c, generated/matmul_i8.c,
  1518. generated/matmul_r4.c, generated/matmul_r8.c: Regenerated.
  1519. * io/write.c (nml_write_obj): Fix 64-bit problem.
  1520. * io/list_read.c (nml_get_obj_data): Add missing braces around
  1521. initializer to avoid warnings.
  1522. * intrinsics/etime.c (etime_sub): Remove unused variable.
  1523. * intrinsics/chdir.c, intrinsics/getlog.c, intrinsics/link.c,
  1524. intrinsics/symlnk.c, intrinsics/perror.c: Include <string.h> for
  1525. prototypes.
  1526. * runtime/string.c (compare0): Remove unused variable.
  1527. * io/unit.c (init_units): Remove unused variables.
  1528. * intrinsics/getcwd.c (getcwd_i4_sub): Remove unused variable.
  1529. * intrinsics/unlink.c (unlink_i4_sub): Remove unused variable.
  1530. * intrinsics/stat.c (stat_i4_sub, fstat_i8_sub, fstat_i4_sub,
  1531. stat_i8_sub): Remove unused variable.
  1532. 2005-05-12 Thomas Koenig <Thomas.Koenig@online.de>
  1533. PR libfortran/21324
  1534. * runtime/memory.c: Don't define GFC_CLEAR_MEMORY (it's a
  1535. performance hog).
  1536. * io/open.c (new_unit): Zero freshly allocated memory for
  1537. unit structure.
  1538. * io/unit.c (init_units): Zero freshly allocated memory for
  1539. STDIN, STDOUT and STDERR.
  1540. * io/unix.c (open_internal): Zero freshly allocated memory
  1541. for unix_stream.
  1542. (fd_to_stream): Likewise.
  1543. 2005-05-11 Bud Davis <bdavis@gfortran.org>
  1544. PR fortran/19478
  1545. * io/unix.c (fd_truncate): update positions when ftruncate
  1546. fails (like writing to /dev/null).
  1547. 2005-05-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1548. PR libfortran/21471
  1549. * open.c (new_unit): Take care of the case where POSITION_APPEND
  1550. is specified (sseek to the end, and set u>-endfile).
  1551. 2005-05-10 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  1552. PR fortran/20178
  1553. * Makefile.am (gfor_specific_src): Add 'intrinsics/f2c_intrinsics.F90'
  1554. to dependencies.
  1555. * Makefile.in: Regenerate.
  1556. * intrinsics/f2c_specific.F90: New file.
  1557. 2005-05-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1558. PR libfortran/20788
  1559. * io/unix.c (fd_to_stream): Add an avoid_mmap argument indicating
  1560. we don't we to mmap this stream. Use fd_open instead of mmap_open
  1561. in that case.
  1562. (open_external): Call fd_to_stream with avoid_mmap = 0.
  1563. (input_stream): Call fd_to_stream with avoid_mmap = 1.
  1564. (output_stream): Likewise.
  1565. (error_stream): Likewise.
  1566. 2005-05-09 Mike Stump <mrs@apple.com>
  1567. * configure: Regenerate.
  1568. 2005-05-09 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1569. PR libfortran/19155
  1570. * io/read.c (read_f): Accept 'e', 'E', 'd' and 'D' as first
  1571. non-blank characters of a real number.
  1572. 2005-05-04 Thomas Koenig <Thomas.Koenig@online.de>
  1573. PR libfortran/21354
  1574. * m4/cshift1.m4: Change dimension of auxiliary arrays from
  1575. GFC_MAX_DIMENSION - 1 to GFC_MAX_DIMENSION.
  1576. * m4/eoshift1.m4: Likewise.
  1577. * m4/eoshift3.m4: Likewise.
  1578. * m4/ifunction.m4: Likewise.
  1579. * m4/in_pack.m4: Likewise.
  1580. * m4/in_unpack.m4: Likewise.
  1581. * intrinsics/cshift0.c: Likewise.
  1582. * intrinsics/eoshift0.c: Likewise.
  1583. * intrinsics/eoshift2.c: Likewise.
  1584. * intrinsics/random.c: Likewise.
  1585. * intrinsics/spread_generic.c: Likewise.
  1586. * intrinsics/stat.c: Likewise.
  1587. * generated/all_l4.c: Regenerated.
  1588. * generated/all_l8.c: Regenerated.
  1589. * generated/any_l4.c: Regenerated.
  1590. * generated/any_l8.c: Regenerated.
  1591. * generated/count_4_l4.c: Regenerated.
  1592. * generated/count_4_l8.c: Regenerated.
  1593. * generated/count_8_l4.c: Regenerated.
  1594. * generated/count_8_l8.c: Regenerated.
  1595. * generated/cshift1_4.c: Regenerated.
  1596. * generated/cshift1_8.c: Regenerated.
  1597. * generated/eoshift1_4.c: Regenerated.
  1598. * generated/eoshift1_8.c: Regenerated.
  1599. * generated/eoshift3_4.c: Regenerated.
  1600. * generated/eoshift3_8.c: Regenerated.
  1601. * generated/in_pack_i4.c: Regenerated.
  1602. * generated/in_pack_i8.c: Regenerated.
  1603. * generated/in_unpack_i4.c: Regenerated.
  1604. * generated/in_unpack_i8.c: Regenerated.
  1605. * generated/maxloc0_4_i4.c: Regenerated.
  1606. * generated/maxloc0_4_i8.c: Regenerated.
  1607. * generated/maxloc0_4_r4.c: Regenerated.
  1608. * generated/maxloc0_4_r8.c: Regenerated.
  1609. * generated/maxloc0_8_i4.c: Regenerated.
  1610. * generated/maxloc0_8_i8.c: Regenerated.
  1611. * generated/maxloc0_8_r4.c: Regenerated.
  1612. * generated/maxloc0_8_r8.c: Regenerated.
  1613. * generated/maxloc1_4_i4.c: Regenerated.
  1614. * generated/maxloc1_4_i8.c: Regenerated.
  1615. * generated/maxloc1_4_r4.c: Regenerated.
  1616. * generated/maxloc1_4_r8.c: Regenerated.
  1617. * generated/maxloc1_8_i4.c: Regenerated.
  1618. * generated/maxloc1_8_i8.c: Regenerated.
  1619. * generated/maxloc1_8_r4.c: Regenerated.
  1620. * generated/maxloc1_8_r8.c: Regenerated.
  1621. * generated/maxval_i4.c: Regenerated.
  1622. * generated/maxval_i8.c: Regenerated.
  1623. * generated/maxval_r4.c: Regenerated.
  1624. * generated/maxval_r8.c: Regenerated.
  1625. * generated/minloc0_4_i4.c: Regenerated.
  1626. * generated/minloc0_4_i8.c: Regenerated.
  1627. * generated/minloc0_4_r4.c: Regenerated.
  1628. * generated/minloc0_4_r8.c: Regenerated.
  1629. * generated/minloc0_8_i4.c: Regenerated.
  1630. * generated/minloc0_8_i8.c: Regenerated.
  1631. * generated/minloc0_8_r4.c: Regenerated.
  1632. * generated/minloc0_8_r8.c: Regenerated.
  1633. * generated/minloc1_4_i4.c: Regenerated.
  1634. * generated/minloc1_4_i8.c: Regenerated.
  1635. * generated/minloc1_4_r4.c: Regenerated.
  1636. * generated/minloc1_4_r8.c: Regenerated.
  1637. * generated/minloc1_8_i4.c: Regenerated.
  1638. * generated/minloc1_8_i8.c: Regenerated.
  1639. * generated/minloc1_8_r4.c: Regenerated.
  1640. * generated/minloc1_8_r8.c: Regenerated.
  1641. * generated/minval_i4.c: Regenerated.
  1642. * generated/minval_i8.c: Regenerated.
  1643. * generated/minval_r4.c: Regenerated.
  1644. * generated/minval_r8.c: Regenerated.
  1645. * generated/product_c4.c: Regenerated.
  1646. * generated/product_c8.c: Regenerated.
  1647. * generated/product_i4.c: Regenerated.
  1648. * generated/product_i8.c: Regenerated.
  1649. * generated/product_r4.c: Regenerated.
  1650. * generated/product_r8.c: Regenerated.
  1651. * generated/sum_c4.c: Regenerated.
  1652. * generated/sum_c8.c: Regenerated.
  1653. * generated/sum_i4.c: Regenerated.
  1654. * generated/sum_i8.c: Regenerated.
  1655. * generated/sum_r4.c: Regenerated.
  1656. * generated/sum_r8.c: Regenerated.
  1657. 2005-04-30 Thomas Koenig <Thomas.Koenig@online.de>
  1658. PR libfortran/18958
  1659. libgfortran.h: Change typedef of index_type from size_t
  1660. to ssize_t.
  1661. 2005-04-30 Paul Thomas <pault@gcc.gnu.org>
  1662. PR libfortran/18857
  1663. * generated/matmul_r8.c: Remove incorrect assertions.
  1664. * generated/matmul_c4.c: Regenerate
  1665. * generated/matmul_c8.c: Regenerate
  1666. * generated/matmul_i4.c: Regenerate
  1667. * generated/matmul_i8.c: Regenerate
  1668. * generated/matmul_r4.c: Regenerate
  1669. * generated/matmul_r8.c: Regenerate
  1670. 2005-04-29 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1671. * configure.ac: Check for ftruncate and chsize.
  1672. * io/unix.c (fd_truncate): Provide chsize as alternative to
  1673. ftruncate.
  1674. * config.h.in: Regenerate.
  1675. * configure: Regenerate.
  1676. 2005-04-29 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  1677. * intrinsics/rename.c: Add missing #includes.
  1678. 2005-04-28 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  1679. * AUTHORS, COPYING, INSTALL, NEWS, README: Remove.
  1680. 2005-04-26 David Edelsohn <edelsohn@gnu.org>
  1681. PR libfortran/20930
  1682. * io/rewind.c (st_rewind): Flush the stream when resetting the mode
  1683. from WRITING to READING.
  1684. 2005-04-22 Paul Thomas <pault@gcc.gnu.org>
  1685. Jerry DeLisle <jvdelisle@verizon.net>
  1686. * io/write.c (nml_write_obj): Provide 1 more byte for ext_name.
  1687. * io/list_read.c (nml_get_obj_data): Put extra brackets in get_mem
  1688. call for ext_name. These fix the bug reported by Jerry DeLisle to
  1689. the fortran list and are based on his suggested fix.
  1690. 2005-04-22 Thomas Koenig <Thomas.Koenig@online.de>
  1691. PR libfortran/20074
  1692. PR libfortran/20436
  1693. PR libfortran/21108
  1694. * m4/reshape.m4 (reshape_`'rtype_kind): rs, rex: New
  1695. variables, to be used in calculation of return array sizes.
  1696. Populate return array descriptor if ret->data is NULL.
  1697. Fix condition for early return (it used to test something
  1698. undefined if order was used).
  1699. Remove duplicate check wether pad is used.
  1700. * intrinsics/reshape_generic.c (reshape_generic): Likewise.
  1701. Fix a few places where the wrong variables were set.
  1702. * generated/reshape_i4.c: Regenerated.
  1703. * generated/reshape_i8.c: Regenerated.
  1704. 2005-04-18 Paul Thomas <pault@gcc.gnu.org>
  1705. * io/list_read.c (nml_touch_nodes, nml_read_obj,
  1706. nml_get_obj_data): Fix memory leaks in code for derived types.
  1707. 2005-04-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1708. PR libfortran/20950
  1709. * io/inquire.c (inquire_via_unit): Check for the gfc_unit being
  1710. NULL when setting ioparm.sequential.
  1711. 2005-04-17 Thomas Koenig <Thomas.Koenig@online.de>
  1712. PR libfortran/21075
  1713. * m4/reshape.m4 (reshape_`'rtype_kind): Change dimension
  1714. of auxiliary arrays from GFC_MAX_DIMENSIONS - 1 to
  1715. GFC_MAX_DIMENSIONS.
  1716. * intrinsics/reshape_generic.c (reshape_generic): Likewise.
  1717. * generated/reshape_i4.c: Regenerated.
  1718. * generated/reshape_i8.c: Regenerated.
  1719. 2005-04-17 Paul Thomas <pault@gcc.gnu.org>
  1720. * io/list_read.c (eat_separator): at_eol = 1 replaced
  1721. (zapped at some time?).
  1722. 2005-04-17 Paul Thomas <pault@gcc.gnu.org>
  1723. PR libfortran/12884
  1724. PR libfortran/17285
  1725. PR libfortran/18122
  1726. PR libfortran/18210
  1727. PR libfortran/18392
  1728. PR libfortran/18591
  1729. PR libfortran/18879
  1730. * io/io.h (nml_ls): Declare.
  1731. (namelist_info): Modify for arrays.
  1732. * io/list_read.c (namelist_read): Reduced to call to new functions.
  1733. (match_namelist_name): Simplified.
  1734. (nml_query): Handles stdin queries ? and =?. New function.
  1735. (nml_get_obj_data): Parses object name. New function.
  1736. (touch_nml_nodes): Marks objects for read. New function.
  1737. (untouch_nml_nodes): Resets objects. New function.
  1738. (parse_qualifier): Parses and checks qualifiers. New function
  1739. (nml_read_object): Reads and stores object data. New function.
  1740. (eat_separator): No new_record on '/' in namelist.
  1741. (finish_separator): No new_record on '/' in namelist.
  1742. (read_logical): Error return for namelist.
  1743. (read_integer): Error return for namelist.
  1744. (read_complex): Error return for namelist.
  1745. (read_real): Error return for namelist.
  1746. * io/lock.c (library_end): Free extended namelist_info types.
  1747. * io/transfer.c (st_set_nml_var): Modified for arrays.
  1748. (st_set_nml_var_dim): Dimension descriptors. New function.
  1749. * io/write.c (namelist_write): Reduced to call to new functions.
  1750. (nml_write_obj): Writes output for object. New function.
  1751. (write_integer): Suppress leading blanks for repeat counts.
  1752. (write_int): Suppress leading blanks for repeat counts.
  1753. (write_float): Suppress leading blanks for repeat counts.
  1754. (output_float): Suppress leading blanks for repeat counts.
  1755. 2005-04-15 Thomas Koenig <Thomas.Koenig@online.de>
  1756. PR libfortran/18495
  1757. * intrinsics/spread_generic.c (spread): Remove const from
  1758. return array descriptor.
  1759. New variables: rrank (rank of return array), rs (for
  1760. calculating the size of the return array), srank (rank
  1761. of the source array).
  1762. Generate runtime error if the dim= argument is larger than
  1763. the rank of the return array.
  1764. Generate runtime error if the needed rank of the return
  1765. array is larger than 7.
  1766. If ret->data is null, populate the return array descriptor
  1767. and initialize the variables for the actual operation.
  1768. Otherwise, set ret->dim[0].stride to one if it is zero.
  1769. Change second, independent use of variable dim to srank.
  1770. 2005-04-12 Mike Stump <mrs@apple.com>
  1771. * configure: Regenerate.
  1772. 2005-04-13 Thomas Koenig <Thomas.Koenig@online.de>
  1773. PR libfortran/19106
  1774. * m4/iforeach.c (name`'rtype_qual`_'atype_code): Add TODO
  1775. that setting correct strides is a front end job.
  1776. (`m'name`'rtype_qual`_'atype_code): Likewise. If mask has
  1777. a lowest stride of 0, adjust to 1.
  1778. * m4/ifunction.c (name`'rtype_qual`_'atype_code): Add TODO
  1779. that setting correct strides is a front end job.
  1780. (`m'name`'rtype_qual`_'atype_code): Likewise. If mask has
  1781. a lowest stride of 0, adjust to 1.
  1782. * maxloc0_4_i4.c: Regenerated
  1783. * maxloc0_4_i8.c: Regenerated
  1784. * maxloc0_4_r4.c: Regenerated
  1785. * maxloc0_4_r8.c: Regenerated
  1786. * maxloc0_8_i4.c: Regenerated
  1787. * maxloc0_8_i8.c: Regenerated
  1788. * maxloc0_8_r4.c: Regenerated
  1789. * maxloc0_8_r8.c: Regenerated
  1790. * maxloc1_4_i4.c: Regenerated
  1791. * maxloc1_4_i8.c: Regenerated
  1792. * maxloc1_4_r4.c: Regenerated
  1793. * maxloc1_4_r8.c: Regenerated
  1794. * maxloc1_8_i4.c: Regenerated
  1795. * maxloc1_8_i8.c: Regenerated
  1796. * maxloc1_8_r4.c: Regenerated
  1797. * maxloc1_8_r8.c: Regenerated
  1798. * maxval_i4.c: Regenerated
  1799. * maxval_i8.c: Regenerated
  1800. * maxval_r4.c: Regenerated
  1801. * maxval_r8.c: Regenerated
  1802. * minloc0_4_i4.c: Regenerated
  1803. * minloc0_4_i8.c: Regenerated
  1804. * minloc0_4_r4.c: Regenerated
  1805. * minloc0_4_r8.c: Regenerated
  1806. * minloc0_8_i4.c: Regenerated
  1807. * minloc0_8_i8.c: Regenerated
  1808. * minloc0_8_r4.c: Regenerated
  1809. * minloc0_8_r8.c: Regenerated
  1810. * minloc1_4_i4.c: Regenerated
  1811. * minloc1_4_i8.c: Regenerated
  1812. * minloc1_4_r4.c: Regenerated
  1813. * minloc1_4_r8.c: Regenerated
  1814. * minloc1_8_i4.c: Regenerated
  1815. * minloc1_8_i8.c: Regenerated
  1816. * minloc1_8_r4.c: Regenerated
  1817. * minloc1_8_r8.c: Regenerated
  1818. * minval_i4.c: Regenerated
  1819. * minval_i8.c: Regenerated
  1820. * minval_r4.c: Regenerated
  1821. * minval_r8.c: Regenerated
  1822. * product_c4.c: Regenerated
  1823. * product_c8.c: Regenerated
  1824. * product_i4.c: Regenerated
  1825. * product_i8.c: Regenerated
  1826. * product_r4.c: Regenerated
  1827. * product_r8.c: Regenerated
  1828. * sum_c4.c: Regenerated
  1829. * sum_c8.c: Regenerated
  1830. * sum_i4.c: Regenerated
  1831. * sum_i8.c: Regenerated
  1832. * sum_r4.c: Regenerated
  1833. * sum_r8.c: Regenerated
  1834. 2005-04-10 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1835. PR libfortran/20788
  1836. * runtime/environ.c (init_unsigned_integer): Function for
  1837. environment variables we want to be positive.
  1838. (init_integer): Function to allow negative environment
  1839. variables (e.g. for GFORTRAN_STDIN_UNIT).
  1840. 2005-04-10 Thomas Koenig <Thomas.Koenig@online.de>
  1841. PR libfortran/17992
  1842. PR libfortran/19568
  1843. PR libfortran/19595
  1844. PR libfortran/20005
  1845. PR libfortran/20092
  1846. PR libfortran/20131
  1847. PR libfortran/20661
  1848. PR libfortran/20744
  1849. * io/transfer.c (top level): eor_condition: New static variable.
  1850. (read_sf): Remove unnecessary zeroing of buffer (there is enough
  1851. information in its length).
  1852. Return a string of length 0 (to be padded by caller) if EOR was
  1853. seen previously.
  1854. Remove erroneous special casing of EOR for standard input.
  1855. Set eor_condition for non-advancing I/O if an end of line was
  1856. detected.
  1857. Increment ioparm.size if necessary.
  1858. (formatted_transfer): Skip the function if there is an EOR condition.
  1859. (data_transfer_init): Initialize eor_condition to zero (false).
  1860. (next_record_r): Clear sf_seen_eor if a \n has been seen already.
  1861. (finalize_transfer): If there is an EOR condition, raise the error.
  1862. 2005-04-09 Bud Davis <bdavis@gfortran.org>
  1863. Steven G. Kargl <kargls@comcast.net>
  1864. PR fortran/19872
  1865. * io/transfer.c (data_transfer_init): truncate an existing
  1866. file on the first write.
  1867. 2005-04-09 Thomas Koenig <Thomas.Koenig@online.de>
  1868. PR libfortran/19106
  1869. PR libfortran/19014
  1870. * m4/ifunction.m4 (name`'rtype_qual`_'atype_code): ditto.
  1871. If retarray->data is NULL (i.e. the front end does not
  1872. know the rank and dimenson of the array), fill in its
  1873. properties and allocate memory.
  1874. Change the assertions about rank and dimension of retarray into
  1875. runtime errors and only check them for retarray->data != NULL.
  1876. Do the same for correcting the stride from 0 to 1 in retarray.
  1877. (`m'name`'rtype_qual`_'atype_code): Likewise.
  1878. * m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Likewise.
  1879. Change assertion about rank of array to runtime error.
  1880. (`m'name`'rtype_qual`_'atype_code): Likewise.
  1881. * generated/all_l4.c: Regenerated.
  1882. * generated/all_l8.c: Regenerated.
  1883. * generated/any_l4.c: Regenerated.
  1884. * generated/any_l8.c: Regenerated.
  1885. * generated/count_4_l4.c: Regenerated.
  1886. * generated/count_4_l8.c: Regenerated.
  1887. * generated/count_8_l4.c: Regenerated.
  1888. * generated/count_8_l8.c: Regenerated.
  1889. * generated/maxloc0_4_i4.c: Regenerated.
  1890. * generated/maxloc0_4_i8.c: Regenerated.
  1891. * generated/maxloc0_4_r4.c: Regenerated.
  1892. * generated/maxloc0_4_r8.c: Regenerated.
  1893. * generated/maxloc0_8_i4.c: Regenerated.
  1894. * generated/maxloc0_8_i8.c: Regenerated.
  1895. * generated/maxloc0_8_r4.c: Regenerated.
  1896. * generated/maxloc0_8_r8.c: Regenerated.
  1897. * generated/maxloc1_4_i4.c: Regenerated.
  1898. * generated/maxloc1_4_i8.c: Regenerated.
  1899. * generated/maxloc1_4_r4.c: Regenerated.
  1900. * generated/maxloc1_4_r8.c: Regenerated.
  1901. * generated/maxloc1_8_i4.c: Regenerated.
  1902. * generated/maxloc1_8_i8.c: Regenerated.
  1903. * generated/maxloc1_8_r4.c: Regenerated.
  1904. * generated/maxloc1_8_r8.c: Regenerated.
  1905. * generated/maxval_i4.c: Regenerated.
  1906. * generated/maxval_i8.c: Regenerated.
  1907. * generated/maxval_r4.c: Regenerated.
  1908. * generated/maxval_r8.c: Regenerated.
  1909. * generated/minloc0_4_i4.c: Regenerated.
  1910. * generated/minloc0_4_i8.c: Regenerated.
  1911. * generated/minloc0_4_r4.c: Regenerated.
  1912. * generated/minloc0_4_r8.c: Regenerated.
  1913. * generated/minloc0_8_i4.c: Regenerated.
  1914. * generated/minloc0_8_i8.c: Regenerated.
  1915. * generated/minloc0_8_r4.c: Regenerated.
  1916. * generated/minloc0_8_r8.c: Regenerated.
  1917. * generated/minloc1_4_i4.c: Regenerated.
  1918. * generated/minloc1_4_i8.c: Regenerated.
  1919. * generated/minloc1_4_r4.c: Regenerated.
  1920. * generated/minloc1_4_r8.c: Regenerated.
  1921. * generated/minloc1_8_i4.c: Regenerated.
  1922. * generated/minloc1_8_i8.c: Regenerated.
  1923. * generated/minloc1_8_r4.c: Regenerated.
  1924. * generated/minloc1_8_r8.c: Regenerated.
  1925. * generated/minval_i4.c: Regenerated.
  1926. * generated/minval_i8.c: Regenerated.
  1927. * generated/minval_r4.c: Regenerated.
  1928. * generated/minval_r8.c: Regenerated.
  1929. * generated/product_c4.c: Regenerated.
  1930. * generated/product_c8.c: Regenerated.
  1931. * generated/product_i4.c: Regenerated.
  1932. * generated/product_i8.c: Regenerated.
  1933. * generated/product_r4.c: Regenerated.
  1934. * generated/product_r8.c: Regenerated.
  1935. * generated/sum_c4.c: Regenerated.
  1936. * generated/sum_c8.c: Regenerated.
  1937. * generated/sum_i4.c: Regenerated.
  1938. * generated/sum_i8.c: Regenerated.
  1939. * generated/sum_r4.c: Regenerated.
  1940. * generated/sum_r8.c: Regenerated.
  1941. 2005-04-09 Thomas Koenig <Thomas.Koenig@online.de>
  1942. PR libfortran/20163
  1943. * runtime/string.c (compare0): Use fstrlen() to
  1944. strip trailing blanks from option string.
  1945. 2005-04-09 Andrew Pinski <pinskia@physics.uc.edu>
  1946. PR fortran/13257
  1947. * format.c (parse_format_list): Allow an optional comma
  1948. between descriptors.
  1949. 2005-04-08 Eric Botcazou <ebotcazou@libertysurf.fr>
  1950. * io/backspace.c (unformatted_backspace): Do not dereference
  1951. the pointer to the stream.
  1952. 2005-04-07 Andrew Pinski <pinskia@physics.uc.edu>
  1953. PR libfortran/20766
  1954. * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
  1955. "-Wl,-single_module".
  1956. * configure: Regenerate.
  1957. * Makefile.am (libgfortran_la_LDFLAGS): Add extra_ldflags_libgfortran.
  1958. * Makefile.in: Regenerate.
  1959. 2005-04-05 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1960. PR libfortran/20755
  1961. * write.c (write_float): A G edit descriptor may locally change
  1962. the scale factor, but it needs to be restored afterwards.
  1963. 2005-04-03 Dale Ranta <dir@lanl.gov>
  1964. Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1965. PR libfortran/20068
  1966. PR libfortran/20125
  1967. PR libfortran/20156
  1968. PR libfortran/20471
  1969. * io/backspace.c (unformatted_backspace): Fix error in arithmetic.
  1970. (st_backspace): When in WRITING mode, we flush and falling back
  1971. into READING mode. In all cases, correctly position the stream.
  1972. 2005-03-31 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1973. PR libfortran/20660
  1974. * io/inquire.c (inquire_via_unit): Non-opened units should still be
  1975. reported by an INQUIRE statement as existing.
  1976. * io/transfer.c (data_transfer_init): Never accept negative units.
  1977. 2005-03-29 Dale Ranta <dir@lanl.gov>
  1978. Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1979. PR libfortran/20163
  1980. * io/open.c (st_open): call library_end() before returning even if
  1981. an error arises.
  1982. 2005-03-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1983. PR libfortran/19678
  1984. * list_read.c (next_char, eat_separator, finish_separator, read_real)
  1985. (namelist_read): Add support for '\r' as well as '\n' as EOL
  1986. character.
  1987. PR libfortran/19679
  1988. * list_read.c (read_sf): Add a '\r' in a test to support DOS
  1989. line-endings when line length is exceeded.
  1990. 2005-03-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1991. PR libfortran/15332
  1992. * io/format.c (parse_format_list): format node for colon edit
  1993. descriptor needs a repeat counter set to 1.
  1994. 2005-02-24 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1995. * config.h.in: Regenerate.
  1996. 2005-02-23 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1997. PR libfortran/18025
  1998. * write.c (output_float): Handling the "F0.d" format similarly as
  1999. commercial compilers.
  2000. 2005-03-22 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2001. * Makefile.am: Added new files.
  2002. * Makefile.in: Regenerate.
  2003. * aclocal.m4: Regenerate.
  2004. * configure.ac: add checks for signal.h headers file, as well as
  2005. following functions: chdir, strerror, getlogin, gethostname, kill,
  2006. link, symlink, perror, sleep, time.
  2007. * configure: Regenerate.
  2008. * intrinsics/chdir.c, intrinsics/gerror.c, intrinsics/getlog.c,
  2009. intrinsics/hostnm.c, intrinsics/ierrno.c, intrinsics/kill.c,
  2010. intrinsics/link.c, intrinsics/perror.c, intrinsics/rename.c,
  2011. intrinsics/sleep.c, intrinsics/symlnk.c, intrinsics/time.c: Newly
  2012. implementend g77 intrinsics.
  2013. 2005-03-21 Zack Weinberg <zack@codesourcery.com>
  2014. * configure.ac: Do not invoke TL_AC_GCC_VERSION.
  2015. In all substitutions, leave gcc_version to be expanded by the Makefile.
  2016. * aclocal.m4, configure: Regenerate.
  2017. * Makefile.am: Set gcc_version.
  2018. * Makefile.in: Regenerate.
  2019. 2005-03-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2020. PR libfortran/20257
  2021. * open.c (new_unit): set record length to max_offset rather than
  2022. using a hard-coded limit (which was too low).
  2023. 2005-03-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2024. PR libfortran/20480
  2025. * write.c (output_float): special check when writing 0.0 with
  2026. EN and ES formats.
  2027. 2005-03-11 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2028. PR libfortran/20124
  2029. * write.c (output_float): Adds a nzero_real variable to store
  2030. the number of leading zeros whatever the format width is. Corrects
  2031. the rounding of numbers less than 10^(-width). Fixes typo in an
  2032. error message. Updates copyright years
  2033. 2005-02-27 Toon Moene <toon@moene.indiv.nluug.nl>
  2034. * runtime/environ.c: Update copyright years.
  2035. 2005-02-27 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  2036. * io/write.c: Update copyright years.
  2037. 2005-02-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2038. PR libfortran/20101
  2039. * io/write.c (output_float): Added special check for value 0.0 in
  2040. PE format.
  2041. 2005-02-27 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  2042. * io/write.c (output_float): Fix typo in condition.
  2043. 2005-02-25 Peter O'Gorman <peter@pogma.com>
  2044. Toon Moene <toon@moene.indiv.nluug.nl>
  2045. PR libfortran/17748
  2046. * runtime/environ.c: Remove references to environ.
  2047. (show_variables): remove GFORTRAN_UNBUFFERED_* and
  2048. GFORTRAN_NAME_* because they require environ.
  2049. (pattern_scan): Remove function.
  2050. 2005-02-22 Paul Thomas <paulthomas2@wannado.fr>
  2051. Bud Davis <bdavis@gfortran.org>
  2052. * io/list_read.c (read_real): Handle separators properly
  2053. in list directed read.
  2054. 2005-02-21 Bud Davis <bdavis@gfortran.org>
  2055. PR fortran/20086
  2056. * io/transfer.c (write_constant_string): accept an 'h' as
  2057. the start of a hollerith format string.
  2058. 2005-02-21 Eric Botcazou <ebotcazou@libertysurf.fr>
  2059. PR libfortran/19302
  2060. * intrinsics/c99_functions.c (nextafterf): Special-case infinite
  2061. numbers.
  2062. 2005-02-21 Steven G. Kargl <kargls@comcast.net>
  2063. * io/write.c (output_float): Typo in error meesage.
  2064. 2005-02-20 Steven G. Kargl <kargls@comcast.net>
  2065. PR 20085
  2066. * intrinsic/args.c (iargc): Off by 1.
  2067. 2005-02-19 Steven G. Kargl <kargls@comcast.net>
  2068. * intrinsic/date_and_time.c: Fix conformance problems.
  2069. 2005-02-01 Paul Thomas <paulthomas2@wanadoo.fr>
  2070. PR libfortran/19363
  2071. PR libfortran/19691
  2072. * libgfortran.h (isfinite): Work around broken isfinite(x) in Cygwin.
  2073. 2005-01-30 Bud Davis <bdavis@gfortran.org>
  2074. PR fortran/19647
  2075. * io/inquire.c (inquire_via_unit): Use correct variable for
  2076. pad.
  2077. 2005-01-29 Thomas Koenig <Thomas.Koenig@online.de>
  2078. PR libfortran/19595
  2079. * io/transfer.c (data_transfer_init): eor requires advance="NO".
  2080. 2005-01-25 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  2081. PR libfortran/19524
  2082. * io/read.c (read_f): Don't free uninitialized pointer.
  2083. 2005-01-23 James A. Morrison <phython@gcc.gnu.org>
  2084. Paul Brook <paul@codesourcery.com>
  2085. PR fortran/19294
  2086. * Makefile.am: Add transpose_c4.c and transpose_c8.c.
  2087. * intrinsics/cshift0.c: Use separate optimized loops for complex types.
  2088. * m4/transpose.m4: Include type letter in function name.
  2089. * Makefile.in: Regenerate.
  2090. * generated/transpose_*.c: Regenerate.
  2091. 2005-01-22 Thomas Koenig <Thomas.Koenig@online.de>
  2092. PR libfortran/19451
  2093. * io/transfer.c (finalize_transfer): Don't do anything if
  2094. there is an error condition.
  2095. 2005-01-22 David Edelsohn <edelsohn@gnu.org>
  2096. PR libfortran/19052
  2097. * libgfortran.h (options_t): Add stderr_unit.
  2098. * io/io.h (error_stream): Declare.
  2099. * io/open.c (new_unit): Do not terminate abnormally if opening
  2100. file preconnected to stdin, stdout, or stderr.
  2101. * io/unit.c (init_units): Initialize stderr_unit.
  2102. * io/unix.c (error_stream): New function.
  2103. * runtime/environ.c (GFORTRAN_STDERR_UNIT): New environment variable.
  2104. 2005-01-22 Thomas Koenig <Thomas.Koenig@online.de>
  2105. PR libfortran/18982
  2106. * io/unix.c (regular_file): No need to change flags->action
  2107. if an error occurs. Document this.
  2108. No need to call stat() for STATUS_OLD, open() will
  2109. fail anyway.
  2110. For ACTION_UNSPECIFIED, try open for read-write, then for
  2111. read-only if open fails with EACCES, then for write-only
  2112. if that fails with EACCES again.
  2113. * io/unix.c (open_external): Document changed behavior of
  2114. regular_file.
  2115. 2005-01-22 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
  2116. PR fortran/19194
  2117. * io/io.h (st_parameter): Use 'GFC_INTEGER_4' instead of 'int',
  2118. use CHARACTER macro for definition of string valued paramters.
  2119. 2005-01-22 Bud Davis <bdavis9659@comcast.net>
  2120. PR fortran/19314
  2121. * io/inquire.c(inquire_via_unit): implement POSITION=.
  2122. * io/transfer.c(next_record): update position for
  2123. INQUIRE.
  2124. * io/rewind.c(st_rewind): update position for
  2125. INQUIRE.
  2126. 2005-01-16 Bud Davis <bdavis9659@comcast.net>
  2127. PR fortran/18778
  2128. * io/transfer.c (us_read): no bytes available is not a
  2129. runtime error.
  2130. 2005-01-15 Bud Davis <bdavis9659@comcast.net>
  2131. PR fortran/18983
  2132. * io/transfer.c (st_write_done): only truncate when it
  2133. is required.
  2134. 2005-01-12 Toon Moene <toon@moene.indiv.nluug.nl>
  2135. PR libfortran/19280
  2136. c99_protos.h: License changed to GPL+exception.
  2137. libgfortran.h: Ditto.
  2138. intrinsics/abort.c: Ditto.
  2139. intrinsics/args.c: Ditto.
  2140. intrinsics/associated.c: Ditto.
  2141. intrinsics/bessel.c: Ditto.
  2142. intrinsics/c99_functions.c: Ditto.
  2143. intrinsics/cpu_time.c: Ditto.
  2144. intrinsics/cshift0.c: Ditto.
  2145. intrinsics/date_and_time.c: Ditto.
  2146. intrinsics/env.c: Ditto.
  2147. intrinsics/eoshift0.c: Ditto.
  2148. intrinsics/eoshift2.c: Ditto.
  2149. intrinsics/erf.c: Ditto.
  2150. intrinsics/etime.c: Ditto.
  2151. intrinsics/exit.c: Ditto.
  2152. intrinsics/flush.c: Ditto.
  2153. intrinsics/fnum.c: Ditto.
  2154. intrinsics/getXid.c: Ditto.
  2155. intrinsics/getcwd.c: Ditto.
  2156. intrinsics/ishftc.c: Ditto.
  2157. intrinsics/mvbits.c: Ditto.
  2158. intrinsics/pack_generic.c: Ditto.
  2159. intrinsics/rand.c: Ditto.
  2160. intrinsics/random.c: Ditto.
  2161. intrinsics/reshape_generic.c: Ditto.
  2162. intrinsics/reshape_packed.c: Ditto.
  2163. intrinsics/size.c: Ditto.
  2164. intrinsics/spread_generic.c: Ditto.
  2165. intrinsics/stat.c: Ditto.
  2166. intrinsics/string_intrinsics.c: Ditto.
  2167. intrinsics/system.c: Ditto.
  2168. intrinsics/system_clock.c: Ditto.
  2169. intrinsics/transpose_generic.c: Ditto.
  2170. intrinsics/umask.c: Ditto.
  2171. intrinsics/unlink.c: Ditto.
  2172. intrinsics/unpack_generic.c: Ditto.
  2173. io/backspace.c: Ditto.
  2174. io/close.c: Ditto.
  2175. io/endfile.c: Ditto.
  2176. io/format.c: Ditto.
  2177. io/inquire.c: Ditto.
  2178. io/io.h: Ditto.
  2179. io/list_read.c: Ditto.
  2180. io/lock.c: Ditto.
  2181. io/open.c: Ditto.
  2182. io/read.c: Ditto.
  2183. io/rewind.c: Ditto.
  2184. io/transfer.c: Ditto.
  2185. io/unit.c: Ditto.
  2186. io/unix.c: Ditto.
  2187. io/write.c: Ditto.
  2188. m4/all.m4: Ditto.
  2189. m4/any.m4: Ditto.
  2190. m4/cexp.m4: Ditto.
  2191. m4/chyp.m4: Ditto.
  2192. m4/count.m4: Ditto.
  2193. m4/cshift1.m4: Ditto.
  2194. m4/ctrig.m4: Ditto.
  2195. m4/dotprod.m4: Ditto.
  2196. m4/dotprodc.m4: Ditto.
  2197. m4/dotprodl.m4: Ditto.
  2198. m4/eoshift1.m4: Ditto.
  2199. m4/eoshift3.m4: Ditto.
  2200. m4/exponent.m4: Ditto.
  2201. m4/fraction.m4: Ditto.
  2202. m4/head.m4: Ditto.
  2203. m4/iforeach.m4: Ditto.
  2204. m4/ifunction.m4: Ditto.
  2205. m4/in_pack.m4: Ditto.
  2206. m4/in_unpack.m4: Ditto.
  2207. m4/iparm.m4: Ditto.
  2208. m4/matmul.m4: Ditto.
  2209. m4/matmull.m4: Ditto.
  2210. m4/maxloc0.m4: Ditto.
  2211. m4/maxloc1.m4: Ditto.
  2212. m4/maxval.m4: Ditto.
  2213. m4/minloc0.m4: Ditto.
  2214. m4/minloc1.m4: Ditto.
  2215. m4/minval.m4: Ditto.
  2216. m4/mtype.m4: Ditto.
  2217. m4/nearest.m4: Ditto.
  2218. m4/pow.m4: Ditto.
  2219. m4/product.m4: Ditto.
  2220. m4/reshape.m4: Ditto.
  2221. m4/set_exponent.m4: Ditto.
  2222. m4/shape.m4: Ditto.
  2223. m4/specific.m4: Ditto.
  2224. m4/specific2.m4: Ditto.
  2225. m4/sum.m4: Ditto.
  2226. m4/transpose.m4: Ditto.
  2227. m4/types.m4: Ditto.
  2228. runtime/environ.c: Ditto.
  2229. runtime/error.c: Ditto.
  2230. runtime/in_pack_generic.c: Ditto.
  2231. runtime/in_unpack_generic.c: Ditto.
  2232. runtime/main.c: Ditto.
  2233. runtime/memory.c: Ditto.
  2234. runtime/normalize.c: Ditto.
  2235. runtime/pause.c: Ditto.
  2236. runtime/select.c: Ditto.
  2237. runtime/stop.c: Ditto.
  2238. runtime/string.c: Ditto.
  2239. generated/_abs_c4.f90: Regenerated.
  2240. generated/_abs_c8.f90: Regenerated.
  2241. generated/_abs_i4.f90: Regenerated.
  2242. generated/_abs_i8.f90: Regenerated.
  2243. generated/_abs_r4.f90: Regenerated.
  2244. generated/_abs_r8.f90: Regenerated.
  2245. generated/_acos_r4.f90: Regenerated.
  2246. generated/_acos_r8.f90: Regenerated.
  2247. generated/_aint_r4.f90: Regenerated.
  2248. generated/_aint_r8.f90: Regenerated.
  2249. generated/_anint_r4.f90: Regenerated.
  2250. generated/_anint_r8.f90: Regenerated.
  2251. generated/_asin_r4.f90: Regenerated.
  2252. generated/_asin_r8.f90: Regenerated.
  2253. generated/_atan2_r4.f90: Regenerated.
  2254. generated/_atan2_r8.f90: Regenerated.
  2255. generated/_atan_r4.f90: Regenerated.
  2256. generated/_atan_r8.f90: Regenerated.
  2257. generated/_conjg_c4.f90: Regenerated.
  2258. generated/_conjg_c8.f90: Regenerated.
  2259. generated/_cos_c4.f90: Regenerated.
  2260. generated/_cos_c8.f90: Regenerated.
  2261. generated/_cos_r4.f90: Regenerated.
  2262. generated/_cos_r8.f90: Regenerated.
  2263. generated/_cosh_r4.f90: Regenerated.
  2264. generated/_cosh_r8.f90: Regenerated.
  2265. generated/_dim_i4.f90: Regenerated.
  2266. generated/_dim_i8.f90: Regenerated.
  2267. generated/_dim_r4.f90: Regenerated.
  2268. generated/_dim_r8.f90: Regenerated.
  2269. generated/_exp_c4.f90: Regenerated.
  2270. generated/_exp_c8.f90: Regenerated.
  2271. generated/_exp_r4.f90: Regenerated.
  2272. generated/_exp_r8.f90: Regenerated.
  2273. generated/_log10_r4.f90: Regenerated.
  2274. generated/_log10_r8.f90: Regenerated.
  2275. generated/_log_c4.f90: Regenerated.
  2276. generated/_log_c8.f90: Regenerated.
  2277. generated/_log_r4.f90: Regenerated.
  2278. generated/_log_r8.f90: Regenerated.
  2279. generated/_mod_i4.f90: Regenerated.
  2280. generated/_mod_i8.f90: Regenerated.
  2281. generated/_mod_r4.f90: Regenerated.
  2282. generated/_mod_r8.f90: Regenerated.
  2283. generated/_sign_i4.f90: Regenerated.
  2284. generated/_sign_i8.f90: Regenerated.
  2285. generated/_sign_r4.f90: Regenerated.
  2286. generated/_sign_r8.f90: Regenerated.
  2287. generated/_sin_c4.f90: Regenerated.
  2288. generated/_sin_c8.f90: Regenerated.
  2289. generated/_sin_r4.f90: Regenerated.
  2290. generated/_sin_r8.f90: Regenerated.
  2291. generated/_sinh_r4.f90: Regenerated.
  2292. generated/_sinh_r8.f90: Regenerated.
  2293. generated/_sqrt_c4.f90: Regenerated.
  2294. generated/_sqrt_c8.f90: Regenerated.
  2295. generated/_sqrt_r4.f90: Regenerated.
  2296. generated/_sqrt_r8.f90: Regenerated.
  2297. generated/_tan_r4.f90: Regenerated.
  2298. generated/_tan_r8.f90: Regenerated.
  2299. generated/_tanh_r4.f90: Regenerated.
  2300. generated/_tanh_r8.f90: Regenerated.
  2301. generated/all_l4.c: Regenerated.
  2302. generated/all_l8.c: Regenerated.
  2303. generated/any_l4.c: Regenerated.
  2304. generated/any_l8.c: Regenerated.
  2305. generated/count_4_l4.c: Regenerated.
  2306. generated/count_4_l8.c: Regenerated.
  2307. generated/count_8_l4.c: Regenerated.
  2308. generated/count_8_l8.c: Regenerated.
  2309. generated/cshift1_4.c: Regenerated.
  2310. generated/cshift1_8.c: Regenerated.
  2311. generated/dotprod_c4.c: Regenerated.
  2312. generated/dotprod_c8.c: Regenerated.
  2313. generated/dotprod_i4.c: Regenerated.
  2314. generated/dotprod_i8.c: Regenerated.
  2315. generated/dotprod_l4.c: Regenerated.
  2316. generated/dotprod_l8.c: Regenerated.
  2317. generated/dotprod_r4.c: Regenerated.
  2318. generated/dotprod_r8.c: Regenerated.
  2319. generated/eoshift1_4.c: Regenerated.
  2320. generated/eoshift1_8.c: Regenerated.
  2321. generated/eoshift3_4.c: Regenerated.
  2322. generated/eoshift3_8.c: Regenerated.
  2323. generated/exp_c4.c: Regenerated.
  2324. generated/exp_c8.c: Regenerated.
  2325. generated/exponent_r4.c: Regenerated.
  2326. generated/exponent_r8.c: Regenerated.
  2327. generated/fraction_r4.c: Regenerated.
  2328. generated/fraction_r8.c: Regenerated.
  2329. generated/hyp_c4.c: Regenerated.
  2330. generated/hyp_c8.c: Regenerated.
  2331. generated/in_pack_i4.c: Regenerated.
  2332. generated/in_pack_i8.c: Regenerated.
  2333. generated/in_unpack_i4.c: Regenerated.
  2334. generated/in_unpack_i8.c: Regenerated.
  2335. generated/matmul_c4.c: Regenerated.
  2336. generated/matmul_c8.c: Regenerated.
  2337. generated/matmul_i4.c: Regenerated.
  2338. generated/matmul_i8.c: Regenerated.
  2339. generated/matmul_l4.c: Regenerated.
  2340. generated/matmul_l8.c: Regenerated.
  2341. generated/matmul_r4.c: Regenerated.
  2342. generated/matmul_r8.c: Regenerated.
  2343. generated/maxloc0_4_i4.c: Regenerated.
  2344. generated/maxloc0_4_i8.c: Regenerated.
  2345. generated/maxloc0_4_r4.c: Regenerated.
  2346. generated/maxloc0_4_r8.c: Regenerated.
  2347. generated/maxloc0_8_i4.c: Regenerated.
  2348. generated/maxloc0_8_i8.c: Regenerated.
  2349. generated/maxloc0_8_r4.c: Regenerated.
  2350. generated/maxloc0_8_r8.c: Regenerated.
  2351. generated/maxloc1_4_i4.c: Regenerated.
  2352. generated/maxloc1_4_i8.c: Regenerated.
  2353. generated/maxloc1_4_r4.c: Regenerated.
  2354. generated/maxloc1_4_r8.c: Regenerated.
  2355. generated/maxloc1_8_i4.c: Regenerated.
  2356. generated/maxloc1_8_i8.c: Regenerated.
  2357. generated/maxloc1_8_r4.c: Regenerated.
  2358. generated/maxloc1_8_r8.c: Regenerated.
  2359. generated/maxval_i4.c: Regenerated.
  2360. generated/maxval_i8.c: Regenerated.
  2361. generated/maxval_r4.c: Regenerated.
  2362. generated/maxval_r8.c: Regenerated.
  2363. generated/minloc0_4_i4.c: Regenerated.
  2364. generated/minloc0_4_i8.c: Regenerated.
  2365. generated/minloc0_4_r4.c: Regenerated.
  2366. generated/minloc0_4_r8.c: Regenerated.
  2367. generated/minloc0_8_i4.c: Regenerated.
  2368. generated/minloc0_8_i8.c: Regenerated.
  2369. generated/minloc0_8_r4.c: Regenerated.
  2370. generated/minloc0_8_r8.c: Regenerated.
  2371. generated/minloc1_4_i4.c: Regenerated.
  2372. generated/minloc1_4_i8.c: Regenerated.
  2373. generated/minloc1_4_r4.c: Regenerated.
  2374. generated/minloc1_4_r8.c: Regenerated.
  2375. generated/minloc1_8_i4.c: Regenerated.
  2376. generated/minloc1_8_i8.c: Regenerated.
  2377. generated/minloc1_8_r4.c: Regenerated.
  2378. generated/minloc1_8_r8.c: Regenerated.
  2379. generated/minval_i4.c: Regenerated.
  2380. generated/minval_i8.c: Regenerated.
  2381. generated/minval_r4.c: Regenerated.
  2382. generated/minval_r8.c: Regenerated.
  2383. generated/nearest_r4.c: Regenerated.
  2384. generated/nearest_r8.c: Regenerated.
  2385. generated/pow_c4_i4.c: Regenerated.
  2386. generated/pow_c4_i8.c: Regenerated.
  2387. generated/pow_c8_i4.c: Regenerated.
  2388. generated/pow_c8_i8.c: Regenerated.
  2389. generated/pow_i4_i4.c: Regenerated.
  2390. generated/pow_i4_i8.c: Regenerated.
  2391. generated/pow_i8_i4.c: Regenerated.
  2392. generated/pow_i8_i8.c: Regenerated.
  2393. generated/pow_r4_i4.c: Regenerated.
  2394. generated/pow_r4_i8.c: Regenerated.
  2395. generated/pow_r8_i4.c: Regenerated.
  2396. generated/pow_r8_i8.c: Regenerated.
  2397. generated/product_c4.c: Regenerated.
  2398. generated/product_c8.c: Regenerated.
  2399. generated/product_i4.c: Regenerated.
  2400. generated/product_i8.c: Regenerated.
  2401. generated/product_r4.c: Regenerated.
  2402. generated/product_r8.c: Regenerated.
  2403. generated/reshape_i4.c: Regenerated.
  2404. generated/reshape_i8.c: Regenerated.
  2405. generated/set_exponent_r4.c: Regenerated.
  2406. generated/set_exponent_r8.c: Regenerated.
  2407. generated/shape_i4.c: Regenerated.
  2408. generated/shape_i8.c: Regenerated.
  2409. generated/sum_c4.c: Regenerated.
  2410. generated/sum_c8.c: Regenerated.
  2411. generated/sum_i4.c: Regenerated.
  2412. generated/sum_i8.c: Regenerated.
  2413. generated/sum_r4.c: Regenerated.
  2414. generated/sum_r8.c: Regenerated.
  2415. generated/transpose_i4.c: Regenerated.
  2416. generated/transpose_i8.c: Regenerated.
  2417. generated/trig_c4.c: Regenerated.
  2418. generated/trig_c8.c: Regenerated.
  2419. 2005-01-07 Bud Davis <bdavis9659@comcast.net>
  2420. PR fortran/18398
  2421. * transfer.c (next_record_r): always skip the
  2422. eol search if it was found during sf_read.
  2423. Copyright (C) 2005 Free Software Foundation, Inc.
  2424. Copying and distribution of this file, with or without modification,
  2425. are permitted in any medium without royalty provided the copyright
  2426. notice and this notice are preserved.