ChangeLog-2007 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488
  1. 2007-12-27 Thomas Koenig <tkoenig@gcc.gnu.org>
  2. PR libfortran/22423
  3. * intrinsics/pack_generic.c (pack): Change type of mask argument
  4. to gfc_array_l1 * in prototype and function.
  5. (pack_char): Likewise.
  6. * intrinsics/unpack_generic.c (unpack1): Likewise.
  7. (unpack1_char): Likewise.
  8. (unpack0): Likewise.
  9. (unpack0_char): Likewise.
  10. 2007-12-27 Thomas Koenig <tkoenig@gcc.gnu.org>
  11. PR libfortran/34594
  12. * runtime/error.c: If there was a previous error, don't
  13. mask it with another error mesage, EOF or EOR condition.
  14. 2007-12-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  15. PR libfortran/34560
  16. * io/transfer.c (read_sf): Check if readlen was less than the requested
  17. number of bytes to read and if so, generate error.
  18. 2007-12-25 Daniel Franke <franke.daniel@gmail.com>
  19. PR fortran/34533
  20. * intrinsics/cpu_time.c: Moved code commonly usable for CPU_TIME,
  21. DTIME and ETIME to ...
  22. * intrinsics/time_1.h: ... here.
  23. * intrinsics/dtime.c: New file.
  24. * intrinsics/etime.c: Newly implemented using the common
  25. time-aquisition function from time_1.h.
  26. * gfortran.map (_gfortran_dtime, _gfortran_dtime_sub): New.
  27. * Makefile.am: Added new file.
  28. * Makefile.in: Regenerated.
  29. * configure: Regenerated.
  30. 2007-12-25 Thomas Koenig <tkoenig@gcc.gnu.org>
  31. PR libfortran/34566
  32. * m4/matmull.m4: Multiply xstride and ystride by correct kind.
  33. * generated/matmul_l4.c: Regenerated.
  34. * generated/matmul_l8.c: Regenerated.
  35. * generated/matmul_l16.c: Regenerated.
  36. 2007-12-19 Tobias Burnus <burnus@net-b.de>
  37. PR fortran/34530
  38. * io/list_read.c (eat_line): Move up in the file.
  39. (eat_separator): In namelist mode, skip over comment lines.
  40. 2007-12-16 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  41. PR fortran/34427
  42. * io/list_read.c (read_real): Handle intervening line ends and spaces.
  43. (get_name): Don't push separators to saved_string.
  44. (eat_separator): If in namelist mode eat spaces and line ends as well.
  45. 2007-12-13 Thomas Koenig <tkoenig@gcc.gnu.org>
  46. PR libfortran/34370
  47. PR libfortran/34323
  48. PR libfortran/34405
  49. * io/io.h: Add previous_nonadvancing_write to gfc_unit.
  50. Add prototype for finish_last_advance_record.
  51. * io/file_pos.c (st_backspace): Generate error if backspace is
  52. attempted for direct access or unformatted stream.
  53. If there are bytes left from a previous ADVANCE="no", write
  54. them out before performing the backspace.
  55. (st_endfile): Generate error if endfile is attempted for
  56. direct access.
  57. If there are bytes left from a previous ADVANCE="no", write
  58. them out before performing the endfile.
  59. (st_rewind): Generate error if rewind is attempted for
  60. direct access.
  61. * unit.c (close_unit_1): Move functionality to write
  62. previously written bytes to...
  63. (finish_last_advance_record): ... here.
  64. * transfer.c (data_transfer_init): If reading, reset
  65. previous_nonadvancing_write.
  66. (finalize_transfer): Set the previous_noadvancing_write
  67. flag if we are writing and ADVANCE="no" was specified.
  68. Only call next_record() if advance="no" wasn't specified.
  69. 2007-12-13 Tobias Burnus <burnus@net-b.de>
  70. PR fortran/34427
  71. * io/list_read.c (read_real): Fix unwinding for namelists.
  72. 2007-12-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  73. PR libfortran/34411
  74. * io/read.c (convert_real, read_l, read_decimal, read_radix, read_f):
  75. Call next_record after bad read or overflow error.
  76. 2007-12-09 Tobias Burnus <burnus@net-b.de>
  77. PR fortran/34404
  78. * io/list_read.c (parse_real): Remove superfluous "goto bad;".
  79. 2007-12-08 Tobias Burnus <burnus@net-b.de>
  80. PR fortran/34319
  81. * io/list_read.c (parse_real, read_real): Support NaN/Infinity.
  82. 2007-12-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  83. Thomas Koenig <tkoenig@gcc.gnu.org>
  84. PR libfortran/33985
  85. * io/transfer.c (read_block, read_block_direct, write_block, write_buf):
  86. Don't seek if file position is already there for STREAM I/O.
  87. (finalize_transfer): For STREAM I/O don't flush unless the file position
  88. has moved past the start position before the transfer.
  89. 2007-12-01 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  90. * intrinsic/stat.c (stat_i4_sub_0, stat_i8_sub_0): Mark parameter
  91. with unused attribute.
  92. * intrinsics/system_clock.c (system_clock_4, system_clock_8):
  93. Remove unused variable.
  94. * intrinsics/umask.c: Include unistd.h.
  95. 2007-11-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  96. PR libfortran/34291
  97. * io/list_read.c (read_character): When reading an unquoted string,
  98. return if special characters that could signify the end of the namelist
  99. read are encountered.
  100. 2007-11-29 Steven G. Kargl <kargls@comcast.net>
  101. PR libfortran/33583
  102. * libgfortran/gfortran.map: Add tgammaf, tgamma, lgamma, and lgammaf.
  103. * gfortran.dg/gamma_5.f90: Remove xfail.
  104. 2007-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  105. PR libfortran/33583
  106. PR libfortran/33698
  107. * intrinsics/c99_functions.c (tgamma, tgammaf, lgamma, lgammaf):
  108. New fallback functions.
  109. * c99_protos.h (tgamma, tgammaf, lgamma, lgammaf): New prototypes.
  110. * configure.ac: Add checks for tgamma, tgammaf, tgammal, lgamma,
  111. lgammaf and lgammal.
  112. * config.h.in: Regenerate.
  113. * configure: Regenerate.
  114. 2007-11-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  115. * mk-kinds-h.sh: Change sed syntax.
  116. 2007-11-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  117. PR libfortran/33985
  118. * io/transfer.c (finalize_transfer): Revert previous patch.
  119. 2007-11-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  120. PR libfortran/33985
  121. * io/transfer.c (finalize_transfer): Do not flush for
  122. unformatted STREAM I/O.
  123. 2007-10-27 Tobias Burnus <burnus@net-b.de>
  124. * mk-kinds-h.sh: Change LANG=C to LC_ALL=C.
  125. 2007-10-26 Tobias Burnus <burnus@net-b.de>
  126. * mk-kinds-h.sh: Add "LANG=C".
  127. 2007-10-26 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  128. * libgfortran.h (GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS,
  129. GFC_REAL_*_RADIX): Remove.
  130. * mk-kinds-h.sh: Define GFC_REAL_*_HUGE, GFC_REAL_*_DIGITS and
  131. GFC_REAL_*_RADIX. Don't define GFC_REAL_LARGEST_FORMAT and
  132. GFC_REAL_LARGEST.
  133. 2007-10-19 Ben Elliston <bje@au.ibm.com>
  134. * intrinsics/signal.c (alarm_sub_i4): Mark conditionally unused
  135. parameters with __attribute__ ((unused)).
  136. (alarm_sub_i8): Likewise.
  137. (alarm_sub_int_i4): Likewise.
  138. (alarm_sub_int_i8): Likewise.
  139. 2007-10-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  140. Jerry DeLisle <jvdelisle@gcc.gnu.org>
  141. PR libfortran/33795
  142. * libgfortran.h: Add unbuffered_preconnected.
  143. * io/unix.c (output_stream): Set stream unbuffered flag if
  144. options.unbuffered_preconnected has been set.
  145. (error_stream): Ditto.
  146. * runtime/environ.c (variable_table): Add to environment variable table
  147. the entry: GFORTRAN_UNBUFFERED_PRECONNECTED.
  148. 2007-10-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  149. PR libfortran/32021
  150. * runtime/backtrace.c (local_strcasestr): Protect by appropriate
  151. macros.
  152. * runtime/main.c (cleanup): Cast argument to free.
  153. * intrinsics/spread_generic.c (spread_internal): Match runtime_error
  154. arguments and format.
  155. * intrinsics/signal.c (alarm_sub_int_i4, alarm_sub_int_i8): Cast
  156. pointers to avoid warnings.
  157. 2007-10-18 Ben Elliston <bje@au.ibm.com>
  158. * runtime/environ.c (init_choice): Remove unused function.
  159. (show_choice): Likewise.
  160. (choice): Remove.
  161. (FP_ROUND_NEAREST, FP_ROUND_UP, FP_ROUND_DOWN, FP_ROUND_ZERO):
  162. Remove.
  163. (precision, signal_choices): Remove.
  164. 2007-10-15 Christopher D. Rickett <crickett@lanl.gov>
  165. PR fortran/32600
  166. * libgfortran/intrinsics/iso_c_binding.c: Remove c_associated_1
  167. and c_associated_2.
  168. * libgfortran/intrinsics/iso_c_binding.h: Ditto.
  169. * libgfortran/gfortran.map: Ditto.
  170. 2007-10-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  171. PR libfortran/33055
  172. * io/inquire.c (inquire_via_unit): If inquiring by unit, check for
  173. an error condition from the IOSTAT variable and set EXIST to false if
  174. there was a bad unit number.
  175. 2007-10-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  176. PR libfortran/33672
  177. * io/list_read.c (nml_parse_qualifier): Add character specific error
  178. messages. Check for proper form of sub-string qualifiers. Return the
  179. parsed_rank flag indicating a non-zero rank qualifier.
  180. (nml_get_obj_data): Count the instances of non-zero rank qualifiers.
  181. Issue an error if more that one non-zero rank qualifier is found.
  182. 2007-10-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  183. PR libfortran/33253
  184. * io/list_read.c (read_character): Use line_buffer to scan ahead for
  185. object name or string when no delimiter is found.
  186. 2007-10-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  187. PR libfortran/32021
  188. * runtime/environ.c (init_mem, show_mem, init_round, show_round,
  189. init_precision, show_precision, init_signal, show_signal): Remove.
  190. (variable_table): Remove GFORTRAN_MEM_INIT, GFORTRAN_MEM_CHECK,
  191. GFORTRAN_SIGHUP, GFORTRAN_SIGINT, GFORTRAN_FPU_ROUND and
  192. GFORTRAN_FPU_PRECISION.
  193. * libgfortran.h (options_t): Remove mem_check, fpu_round,
  194. fpu_precision, sighup, sigint, allocate_init_flag and
  195. allocate_init_value.
  196. 2007-10-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  197. PR libfortran/33253
  198. * io/list_read.c (read_character): Use DELIM_APOSTROPHE and DELIM_QUOTE
  199. and quote value in check of first character in string.
  200. 2007-10-02 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  201. PR fortran/33469
  202. * io/write.c (write_real): Widen the default formats.
  203. 2007-09-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  204. PR libfortran/33400
  205. * io/list_read.c (next_char): Interpret encountering the end of file the
  206. first time as an end of line. Subsequent reads give EOF error.
  207. 2007-09-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  208. PR libfortran/33421
  209. * io/list_read.c (read_character): Revert r128057.
  210. 2007-09-21 Bernhard Fischer <aldot>
  211. PR fortran/31546
  212. * (configure.ac): Add --enable-intermodule for onestep build.
  213. * (Makefile.am): Handle onestep build.
  214. * (configure, Makefile.in): Regenerate.
  215. 2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  216. PR libfortran/26253
  217. * intrinsics/c99_functions.c (scalbn): Use ldexp if appopriate.
  218. 2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  219. PR libfortran/23272
  220. * io/unix.c (id_from_handle, id_from_path, id_from_fd): New
  221. functions.
  222. (compare_file_filename, find_file, find_file0): Use the new
  223. functions above.
  224. 2007-09-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  225. * acinclude.m4 (LIBGFOR_TARGET_ILP32): Remove test.
  226. * configure.ac: Don't call LIBGFOR_TARGET_ILP32.
  227. * configure: Regenerate.
  228. * config.h.in: Regenerate.
  229. 2007-09-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  230. PR libfortran/21185
  231. * runtime/compile_options.c (set_options): Fix typo.
  232. * runtime/main.c (store_exe_path): If getcwd is not available,
  233. don't use it.
  234. * intrinsics/getcwd.c: Same thing here.
  235. * io/unix.c (fallback_access): New fallback function for access.
  236. (fix_fd): Don't use dup if it's not available.
  237. * configure.ac: Check for dup and getcwd.
  238. * configure: Regenerate.
  239. * config.h.in: Regenerate.
  240. 2007-09-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  241. * io/io.h: Include libgfortran.h first.
  242. 2007-09-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  243. PR libfortran/33386
  244. * runtime/select.c (select_string): Initialize default_jump.
  245. 2007-09-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  246. PR libfortran/33307
  247. * io/filepos.c (st_backspace): Don't truncate when already at the end
  248. of the file.
  249. 2007-09-07 Uros Bizjak <ubizjak@gmail.com>
  250. * config/fpu-387.h: Include cpuid.h.
  251. (set_fpu): Use __get_cpuid to check for SSE.
  252. 2007-09-06 Thomas Koenig <tkoenig@gcc.gnu.org>
  253. PR fortran/33298
  254. * intrinsics/spread_generic.c(spread_internal): Enable
  255. bounds checking by comparing extents if the bounds_check
  256. option has been set. If any extent is <=0, return early.
  257. 2007-09-06 David Edelsohn <edelsohn@gnu.org>
  258. * libgfortran.h: Include config.h first.
  259. * io/io.h (struct stream): Rename truncate to trunc.
  260. * io/unix.c (fd_open): Same.
  261. (open_internal): Same.
  262. 2007-09-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  263. PR libfortran/33253
  264. * io/write.c (nml_write_obj): Set the delimiter correctly before
  265. calling write_character. (namelist_write): Clean up the code a little
  266. and add comments to clarify what its doing.
  267. 2007-09-04 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  268. PR libfortran/33225
  269. * io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
  270. new file write_float.def. Include write_float.def.
  271. (extract_real): Delete. (calculate_sign): Delete.
  272. (calculate_exp): Delete. (calculate_G_format): Delete.
  273. (output_float): Delete. (write_float): Delete.
  274. * io/write_float.def (calculate_sign): Added.
  275. (output_float): Refactored to be independent of kind and added to this
  276. file for inclusion. (write_infnan): New function to write "Infinite"
  277. or "NaN" depending on flags passed, independent of kind.
  278. (CALCULATE_EXP): New macro to build kind specific functions. Use it.
  279. (OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
  280. (DTOA, DTOAL): Macros to implement "decimal to ascii".
  281. (WRITE_FLOAT): New macro for kind specific write_float functions.
  282. (write_float): Revised function to determine kind and use WRITE_FLOAT
  283. to implement kind specific output.
  284. 2007-09-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  285. PR libfortran/33253
  286. * io/list_read.c (read_character): Use DELIM_APOSTROPHE and
  287. DELIM_QUOTE in check of first character in string.
  288. 2007-09-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  289. PR fortran/31675
  290. * libgfortran.h: Include gcc/fortran/libgfortran.h.
  291. Remove M_PI, GFC_MAX_DIMENSIONS, GFC_DTYPE_*, GFC_NUM_RANK_BITS,
  292. error_codes, GFC_STD_*, GFC_FPE_* and unit_convert.
  293. * runtime/environ.c (variable_table): Use GFC_*_UNIT_NUMBER instead
  294. of hardcoded constants.
  295. (do_parse, init_unformatted): Use GFC_CONVERT_* macros instead of
  296. CONVERT_*.
  297. * runtime/string.c (find_option): Use LIBERROR_BAD_OPTION instead
  298. of ERROR_BAD_OPTION.
  299. * runtime/error.c (translate_error, generate_error): Use
  300. LIBERROR_* macros instead of ERROR_*.
  301. * io/file_pos.c (formatted_backspace, unformatted_backspace,
  302. st_backspace, st_rewind, st_flush): Rename macros.
  303. * io/open.c (convert_opt, edit_modes, new_unit, already_open,
  304. st_open): Likewise.
  305. * io/close.c (st_close): Likewise.
  306. * io/list_read.c (next_char, convert_integer, parse_repeat,
  307. read_logical, read_integer, read_character, parse_real,
  308. check_type, list_formatted_read_scalar, namelist_read,
  309. nml_err_ret): Likewise.
  310. * io/read.c (convert_real, read_l, read_decimal, read_radix,
  311. read_f): Likewise.
  312. * io/inquire.c (inquire_via_unit): Likewise.
  313. * io/unit.c (get_internal_unit): Likewise.
  314. * io/transfer.c (read_sf, read_block, read_block_direct,
  315. write_block, write_buf, unformatted_read, unformatted_write,
  316. formatted_transfer_scalar, us_read, us_write, data_transfer_init,
  317. skip_record, next_record_r, write_us_marker, next_record_w_unf,
  318. next_record_w, finalize_transfer, st_read, st_write_done):
  319. Likewise.
  320. * io/format.c (format_error): Likewise.
  321. 2007-08-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  322. * m4/minloc1.m4: Update copyright year and ajust headers order.
  323. * m4/maxloc1.m4: Likewise.
  324. * m4/in_pack.m4: Likewise.
  325. * m4/sum.m4: Likewise.
  326. * m4/fraction.m4: Likewise.
  327. * m4/all.m4: Likewise.
  328. * m4/set_exponent.m4: Likewise.
  329. * m4/transpose.m4: Likewise.
  330. * m4/eoshift1.m4: Likewise.
  331. * m4/spacing.m4: Likewise.
  332. * m4/eoshift3.m4: Likewise.
  333. * m4/minval.m4: Likewise.
  334. * m4/count.m4: Likewise.
  335. * m4/maxval.m4: Likewise.
  336. * m4/exponent.m4: Likewise.
  337. * m4/shape.m4: Likewise.
  338. * m4/head.m4: Likewise.
  339. * m4/cshift1.m4: Likewise.
  340. * m4/minloc0.m4: Likewise.
  341. * m4/nearest.m4: Likewise.
  342. * m4/maxloc0.m4: Likewise.
  343. * m4/pow.m4: Likewise.
  344. * m4/in_unpack.m4: Likewise.
  345. * m4/matmull.m4: Likewise.
  346. * m4/product.m4: Likewise.
  347. * m4/reshape.m4: Likewise.
  348. * m4/any.m4: Likewise.
  349. * m4/rrspacing.m4: Likewise.
  350. * m4/matmul.m4: Likewise.
  351. * runtime/backtrace.c: Likewise.
  352. * runtime/environ.c: Likewise.
  353. * runtime/in_pack_generic.c: Likewise.
  354. * runtime/compile_options.c: Likewise.
  355. * runtime/in_unpack_generic.c: Likewise.
  356. * runtime/main.c: Likewise.
  357. * runtime/stop.c: Likewise.
  358. * runtime/string.c: Likewise.
  359. * runtime/memory.c: Likewise.
  360. * runtime/error.c: Likewise.
  361. * runtime/pause.c: Likewise.
  362. * intrinsics/ierrno.c: Likewise.
  363. * intrinsics/system_clock.c: Likewise.
  364. * intrinsics/cshift0.c: Likewise.
  365. * intrinsics/unlink.c: Likewise.
  366. * intrinsics/ctime.c: Likewise.
  367. * intrinsics/etime.c: Likewise.
  368. * intrinsics/cpu_time.c: Likewise.
  369. * intrinsics/malloc.c: Likewise.
  370. * intrinsics/hostnm.c: Likewise.
  371. * intrinsics/sleep.c: Likewise.
  372. * intrinsics/exit.c: Likewise.
  373. * intrinsics/perror.c: Likewise.
  374. * intrinsics/transpose_generic.c: Likewise.
  375. * intrinsics/pack_generic.c: Likewise.
  376. * intrinsics/spread_generic.c: Likewise.
  377. * intrinsics/stat.c: Likewise.
  378. * intrinsics/string_intrinsics.c: Likewise.
  379. * intrinsics/getcwd.c: Likewise.
  380. * intrinsics/date_and_time.c: Likewise.
  381. * intrinsics/unpack_generic.c: Likewise.
  382. * intrinsics/move_alloc.c: Likewise.
  383. * intrinsics/getlog.c: Likewise.
  384. * intrinsics/eoshift0.c: Likewise.
  385. * intrinsics/eoshift2.c: Likewise.
  386. * intrinsics/reshape_generic.c: Likewise.
  387. * intrinsics/system.c: Likewise.
  388. * intrinsics/iso_c_binding.c: Likewise.
  389. * intrinsics/env.c: Likewise.
  390. * intrinsics/kill.c: Likewise.
  391. * intrinsics/reshape_packed.c: Likewise.
  392. * intrinsics/time.c: Likewise.
  393. * intrinsics/gerror.c: Likewise.
  394. * intrinsics/access.c: Likewise.
  395. * intrinsics/fnum.c: Likewise.
  396. * intrinsics/abort.c: Likewise.
  397. * intrinsics/rename.c: Likewise.
  398. * intrinsics/signal.c: Likewise.
  399. * intrinsics/symlnk.c: Likewise.
  400. * intrinsics/random.c: Likewise.
  401. * intrinsics/umask.c: Likewise.
  402. * intrinsics/getXid.c: Likewise.
  403. * intrinsics/rand.c: Likewise.
  404. * intrinsics/chdir.c: Likewise.
  405. * intrinsics/chmod.c: Likewise.
  406. * intrinsics/clock.c: Likewise.
  407. * intrinsics/args.c: Likewise.
  408. * intrinsics/link.c: Likewise.
  409. * c99_protos.h: Likewise.
  410. * config/fpu-387.h: Likewise.
  411. * config/fpu-aix.h: Likewise.
  412. * config/fpu-sysv.h: Likewise.
  413. * config/fpu-generic.h: Likewise.
  414. * config/fpu-glibc.h: Likewise.
  415. * io/file_pos.c: Likewise.
  416. * io/open.c: Likewise.
  417. * io/size_from_kind.c: Likewise.
  418. * io/close.c: Likewise.
  419. * io/list_read.c: Likewise.
  420. * io/read.c: Likewise.
  421. * io/inquire.c: Likewise.
  422. * io/unit.c: Likewise.
  423. * io/unix.c: Likewise.
  424. * io/transfer.c: Likewise.
  425. * io/intrinsics.c: Likewise.
  426. * io/format.c: Likewise.
  427. * io/lock.c: Likewise.
  428. * io/write.c: Likewise.
  429. * io/write_float.def: Likewise.
  430. * fmain.c: Likewise.
  431. * generated/minval_r8.c: Regenerate.
  432. * generated/minloc1_16_r16.c: Regenerate.
  433. * generated/maxloc1_4_r8.c: Regenerate.
  434. * generated/sum_i8.c: Regenerate.
  435. * generated/eoshift3_4.c: Regenerate.
  436. * generated/transpose_c8.c: Regenerate.
  437. * generated/any_l16.c: Regenerate.
  438. * generated/eoshift1_8.c: Regenerate.
  439. * generated/pow_r8_i8.c: Regenerate.
  440. * generated/reshape_r16.c: Regenerate.
  441. * generated/pow_i4_i16.c: Regenerate.
  442. * generated/maxval_i2.c: Regenerate.
  443. * generated/product_r4.c: Regenerate.
  444. * generated/maxloc1_8_i4.c: Regenerate.
  445. * generated/exponent_r16.c: Regenerate.
  446. * generated/maxloc0_4_r4.c: Regenerate.
  447. * generated/fraction_r16.c: Regenerate.
  448. * generated/in_unpack_i8.c: Regenerate.
  449. * generated/matmul_r8.c: Regenerate.
  450. * generated/product_i2.c: Regenerate.
  451. * generated/fraction_r4.c: Regenerate.
  452. * generated/minloc0_4_r16.c: Regenerate.
  453. * generated/reshape_c4.c: Regenerate.
  454. * generated/minloc0_4_i1.c: Regenerate.
  455. * generated/maxloc0_4_r16.c: Regenerate.
  456. * generated/maxloc0_4_i2.c: Regenerate.
  457. * generated/minloc1_8_r16.c: Regenerate.
  458. * generated/maxloc1_8_r16.c: Regenerate.
  459. * generated/set_exponent_r8.c: Regenerate.
  460. * generated/in_unpack_i16.c: Regenerate.
  461. * generated/transpose_c16.c: Regenerate.
  462. * generated/maxloc0_8_i8.c: Regenerate.
  463. * generated/pow_c4_i8.c: Regenerate.
  464. * generated/sum_r16.c: Regenerate.
  465. * generated/sum_i1.c: Regenerate.
  466. * generated/minloc1_4_r8.c: Regenerate.
  467. * generated/transpose_r10.c: Regenerate.
  468. * generated/pow_i8_i4.c: Regenerate.
  469. * generated/maxloc1_16_r16.c: Regenerate.
  470. * generated/minloc1_16_i4.c: Regenerate.
  471. * generated/maxloc1_16_i4.c: Regenerate.
  472. * generated/minloc0_16_i8.c: Regenerate.
  473. * generated/maxloc0_16_i8.c: Regenerate.
  474. * generated/nearest_r8.c: Regenerate.
  475. * generated/spacing_r16.c: Regenerate.
  476. * generated/transpose_i8.c: Regenerate.
  477. * generated/count_16_l16.c: Regenerate.
  478. * generated/maxval_r16.c: Regenerate.
  479. * generated/count_8_l8.c: Regenerate.
  480. * generated/product_c10.c: Regenerate.
  481. * generated/minloc1_8_i4.c: Regenerate.
  482. * generated/minloc0_16_i16.c: Regenerate.
  483. * generated/matmul_r16.c: Regenerate.
  484. * generated/eoshift1_16.c: Regenerate.
  485. * generated/minloc0_4_r4.c: Regenerate.
  486. * generated/pow_c16_i16.c: Regenerate.
  487. * generated/set_exponent_r10.c: Regenerate.
  488. * generated/pow_i16_i16.c: Regenerate.
  489. * generated/product_c4.c: Regenerate.
  490. * generated/sum_r4.c: Regenerate.
  491. * generated/pow_c16_i4.c: Regenerate.
  492. * generated/rrspacing_r10.c: Regenerate.
  493. * generated/in_pack_c16.c: Regenerate.
  494. * generated/minloc0_4_i2.c: Regenerate.
  495. * generated/maxloc0_8_i1.c: Regenerate.
  496. * generated/reshape_i4.c: Regenerate.
  497. * generated/minloc0_8_i8.c: Regenerate.
  498. * generated/matmul_c8.c: Regenerate.
  499. * generated/spacing_r4.c: Regenerate.
  500. * generated/in_pack_c4.c: Regenerate.
  501. * generated/all_l16.c: Regenerate.
  502. * generated/minloc1_16_r10.c: Regenerate.
  503. * generated/sum_i2.c: Regenerate.
  504. * generated/minloc0_16_i1.c: Regenerate.
  505. * generated/reshape_c16.c: Regenerate.
  506. * generated/maxloc0_16_i1.c: Regenerate.
  507. * generated/maxloc1_8_r8.c: Regenerate.
  508. * generated/minval_i16.c: Regenerate.
  509. * generated/reshape_r10.c: Regenerate.
  510. * generated/exponent_r10.c: Regenerate.
  511. * generated/maxval_i4.c: Regenerate.
  512. * generated/any_l4.c: Regenerate.
  513. * generated/minval_i8.c: Regenerate.
  514. * generated/maxloc1_4_i8.c: Regenerate.
  515. * generated/fraction_r10.c: Regenerate.
  516. * generated/maxloc0_16_i16.c: Regenerate.
  517. * generated/shape_i4.c: Regenerate.
  518. * generated/pow_r16_i8.c: Regenerate.
  519. * generated/maxloc0_8_r4.c: Regenerate.
  520. * generated/rrspacing_r8.c: Regenerate.
  521. * generated/pow_c10_i4.c: Regenerate.
  522. * generated/minloc1_4_i16.c: Regenerate.
  523. * generated/minloc0_4_r10.c: Regenerate.
  524. * generated/maxloc1_4_i16.c: Regenerate.
  525. * generated/minloc0_8_i16.c: Regenerate.
  526. * generated/maxloc0_4_r10.c: Regenerate.
  527. * generated/maxloc0_8_i16.c: Regenerate.
  528. * generated/minloc1_8_r10.c: Regenerate.
  529. * generated/product_i4.c: Regenerate.
  530. * generated/minloc0_16_r4.c: Regenerate.
  531. * generated/sum_c16.c: Regenerate.
  532. * generated/maxloc1_8_r10.c: Regenerate.
  533. * generated/maxloc0_16_r4.c: Regenerate.
  534. * generated/transpose_c10.c: Regenerate.
  535. * generated/minloc1_16_r8.c: Regenerate.
  536. * generated/minloc0_8_i1.c: Regenerate.
  537. * generated/maxloc0_4_i4.c: Regenerate.
  538. * generated/transpose_r4.c: Regenerate.
  539. * generated/maxloc1_16_r8.c: Regenerate.
  540. * generated/pow_i16_i8.c: Regenerate.
  541. * generated/cshift1_4.c: Regenerate.
  542. * generated/maxloc0_8_i2.c: Regenerate.
  543. * generated/sum_r10.c: Regenerate.
  544. * generated/nearest_r16.c: Regenerate.
  545. * generated/sum_c4.c: Regenerate.
  546. * generated/maxloc1_16_r10.c: Regenerate.
  547. * generated/count_4_l16.c: Regenerate.
  548. * generated/pow_c8_i8.c: Regenerate.
  549. * generated/matmul_i8.c: Regenerate.
  550. * generated/in_pack_i4.c: Regenerate.
  551. * generated/pow_i4_i8.c: Regenerate.
  552. * generated/minloc0_16_i2.c: Regenerate.
  553. * generated/minloc1_8_r8.c: Regenerate.
  554. * generated/maxloc0_16_i2.c: Regenerate.
  555. * generated/exponent_r4.c: Regenerate.
  556. * generated/spacing_r10.c: Regenerate.
  557. * generated/matmul_c16.c: Regenerate.
  558. * generated/pow_c4_i16.c: Regenerate.
  559. * generated/maxval_r10.c: Regenerate.
  560. * generated/count_4_l4.c: Regenerate.
  561. * generated/shape_i16.c: Regenerate.
  562. * generated/minval_i1.c: Regenerate.
  563. * generated/maxloc1_4_i1.c: Regenerate.
  564. * generated/matmul_r10.c: Regenerate.
  565. * generated/minloc1_4_i8.c: Regenerate.
  566. * generated/pow_r10_i8.c: Regenerate.
  567. * generated/minloc0_8_r4.c: Regenerate.
  568. * generated/in_unpack_c4.c: Regenerate.
  569. * generated/matmul_l4.c: Regenerate.
  570. * generated/product_i16.c: Regenerate.
  571. * generated/minloc0_16_r16.c: Regenerate.
  572. * generated/reshape_r8.c: Regenerate.
  573. * generated/pow_r10_i16.c: Regenerate.
  574. * generated/all_l4.c: Regenerate.
  575. * generated/in_pack_c10.c: Regenerate.
  576. * generated/minloc0_4_i4.c: Regenerate.
  577. * generated/minloc0_8_i2.c: Regenerate.
  578. * generated/matmul_i1.c: Regenerate.
  579. * generated/reshape_c10.c: Regenerate.
  580. * generated/minval_r4.c: Regenerate.
  581. * generated/maxloc1_4_r4.c: Regenerate.
  582. * generated/pow_r8_i16.c: Regenerate.
  583. * generated/sum_i4.c: Regenerate.
  584. * generated/maxval_r8.c: Regenerate.
  585. * generated/count_16_l8.c: Regenerate.
  586. * generated/transpose_c4.c: Regenerate.
  587. * generated/eoshift1_4.c: Regenerate.
  588. * generated/eoshift3_8.c: Regenerate.
  589. * generated/minval_r16.c: Regenerate.
  590. * generated/minloc1_4_i1.c: Regenerate.
  591. * generated/minval_i2.c: Regenerate.
  592. * generated/maxloc1_4_i2.c: Regenerate.
  593. * generated/pow_i8_i16.c: Regenerate.
  594. * generated/product_r8.c: Regenerate.
  595. * generated/maxloc1_8_i8.c: Regenerate.
  596. * generated/maxloc0_4_r8.c: Regenerate.
  597. * generated/maxloc0_16_r16.c: Regenerate.
  598. * generated/in_unpack_i4.c: Regenerate.
  599. * generated/matmul_r4.c: Regenerate.
  600. * generated/sum_c10.c: Regenerate.
  601. * generated/minloc1_4_r16.c: Regenerate.
  602. * generated/fraction_r8.c: Regenerate.
  603. * generated/maxloc1_4_r16.c: Regenerate.
  604. * generated/set_exponent_r4.c: Regenerate.
  605. * generated/minloc0_8_r16.c: Regenerate.
  606. * generated/in_unpack_c16.c: Regenerate.
  607. * generated/reshape_c8.c: Regenerate.
  608. * generated/maxloc0_8_r16.c: Regenerate.
  609. * generated/nearest_r10.c: Regenerate.
  610. * generated/maxloc0_8_i4.c: Regenerate.
  611. * generated/pow_c4_i4.c: Regenerate.
  612. * generated/matmul_i2.c: Regenerate.
  613. * generated/minloc1_4_r4.c: Regenerate.
  614. * generated/transpose_i16.c: Regenerate.
  615. * generated/matmul_c10.c: Regenerate.
  616. * generated/minloc0_16_i4.c: Regenerate.
  617. * generated/maxloc0_16_i4.c: Regenerate.
  618. * generated/pow_i8_i8.c: Regenerate.
  619. * generated/nearest_r4.c: Regenerate.
  620. * generated/minloc1_16_i8.c: Regenerate.
  621. * generated/maxloc1_16_i8.c: Regenerate.
  622. * generated/transpose_i4.c: Regenerate.
  623. * generated/count_8_l4.c: Regenerate.
  624. * generated/minloc1_4_i2.c: Regenerate.
  625. * generated/matmul_l16.c: Regenerate.
  626. * generated/maxloc1_8_i1.c: Regenerate.
  627. * generated/minloc0_16_r10.c: Regenerate.
  628. * generated/minloc1_8_i8.c: Regenerate.
  629. * generated/minloc0_4_r8.c: Regenerate.
  630. * generated/product_r16.c: Regenerate.
  631. * generated/product_c8.c: Regenerate.
  632. * generated/pow_r16_i16.c: Regenerate.
  633. * generated/sum_r8.c: Regenerate.
  634. * generated/pow_c16_i8.c: Regenerate.
  635. * generated/in_pack_i16.c: Regenerate.
  636. * generated/minloc0_8_i4.c: Regenerate.
  637. * generated/matmul_c4.c: Regenerate.
  638. * generated/minloc1_16_i16.c: Regenerate.
  639. * generated/reshape_i8.c: Regenerate.
  640. * generated/spacing_r8.c: Regenerate.
  641. * generated/in_pack_c8.c: Regenerate.
  642. * generated/maxloc1_8_r4.c: Regenerate.
  643. * generated/minloc1_16_i1.c: Regenerate.
  644. * generated/maxloc1_16_i1.c: Regenerate.
  645. * generated/reshape_i16.c: Regenerate.
  646. * generated/minval_r10.c: Regenerate.
  647. * generated/pow_r4_i8.c: Regenerate.
  648. * generated/minloc1_8_i1.c: Regenerate.
  649. * generated/minval_i4.c: Regenerate.
  650. * generated/maxloc1_4_i4.c: Regenerate.
  651. * generated/maxloc1_8_i2.c: Regenerate.
  652. * generated/maxval_i8.c: Regenerate.
  653. * generated/eoshift3_16.c: Regenerate.
  654. * generated/any_l8.c: Regenerate.
  655. * generated/maxloc0_16_r10.c: Regenerate.
  656. * generated/rrspacing_r4.c: Regenerate.
  657. * generated/shape_i8.c: Regenerate.
  658. * generated/maxloc0_8_r8.c: Regenerate.
  659. * generated/minloc0_4_i16.c: Regenerate.
  660. * generated/maxloc0_4_i16.c: Regenerate.
  661. * generated/minloc1_4_r10.c: Regenerate.
  662. * generated/minloc1_8_i16.c: Regenerate.
  663. * generated/pow_c10_i8.c: Regenerate.
  664. * generated/maxloc1_4_r10.c: Regenerate.
  665. * generated/maxloc1_8_i16.c: Regenerate.
  666. * generated/in_unpack_c10.c: Regenerate.
  667. * generated/minloc0_8_r10.c: Regenerate.
  668. * generated/maxloc0_8_r10.c: Regenerate.
  669. * generated/minloc1_16_r4.c: Regenerate.
  670. * generated/maxloc1_16_r4.c: Regenerate.
  671. * generated/minloc0_16_r8.c: Regenerate.
  672. * generated/pow_i16_i4.c: Regenerate.
  673. * generated/product_i8.c: Regenerate.
  674. * generated/maxloc0_16_r8.c: Regenerate.
  675. * generated/sum_i16.c: Regenerate.
  676. * generated/maxloc0_4_i8.c: Regenerate.
  677. * generated/transpose_r8.c: Regenerate.
  678. * generated/cshift1_8.c: Regenerate.
  679. * generated/maxloc1_16_i16.c: Regenerate.
  680. * generated/matmul_i4.c: Regenerate.
  681. * generated/pow_c8_i4.c: Regenerate.
  682. * generated/pow_i4_i4.c: Regenerate.
  683. * generated/minloc1_8_r4.c: Regenerate.
  684. * generated/sum_c8.c: Regenerate.
  685. * generated/count_8_l16.c: Regenerate.
  686. * generated/minloc1_16_i2.c: Regenerate.
  687. * generated/maxloc1_16_i2.c: Regenerate.
  688. * generated/in_pack_i8.c: Regenerate.
  689. * generated/transpose_r16.c: Regenerate.
  690. * generated/maxval_i16.c: Regenerate.
  691. * generated/exponent_r8.c: Regenerate.
  692. * generated/matmul_i16.c: Regenerate.
  693. * generated/count_4_l8.c: Regenerate.
  694. * generated/pow_c8_i16.c: Regenerate.
  695. * generated/maxval_i1.c: Regenerate.
  696. * generated/minloc1_4_i4.c: Regenerate.
  697. * generated/minloc1_8_i2.c: Regenerate.
  698. * generated/pow_c10_i16.c: Regenerate.
  699. * generated/product_c16.c: Regenerate.
  700. * generated/reshape_r4.c: Regenerate.
  701. * generated/in_unpack_c8.c: Regenerate.
  702. * generated/minloc0_8_r8.c: Regenerate.
  703. * generated/matmul_l8.c: Regenerate.
  704. * generated/product_r10.c: Regenerate.
  705. * generated/set_exponent_r16.c: Regenerate.
  706. * generated/cshift1_16.c: Regenerate.
  707. * generated/product_i1.c: Regenerate.
  708. * generated/all_l8.c: Regenerate.
  709. * generated/maxloc0_4_i1.c: Regenerate.
  710. * generated/rrspacing_r16.c: Regenerate.
  711. * generated/minloc0_4_i8.c: Regenerate.
  712. * generated/pow_r4_i16.c: Regenerate.
  713. * generated/count_16_l4.c: Regenerate.
  714. * generated/maxval_r4.c: Regenerate.
  715. 2007-08-30 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  716. PR libfortran/33225
  717. * io/write.c: Revert changes from patch of 2007-08-27.
  718. * io/write_float.def: Remove file, reverting addition.
  719. 2007-08-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  720. * runtime/memory.c (internal_realloc, allocate, allocate_array,
  721. deallocate): Remove functions.
  722. * gfortran.map (_gfortran_allocate, _gfortran_allocate_array,
  723. _gfortran_deallocate, _gfortran_internal_realloc): Remove symbols.
  724. * libgfortran.h (error_codes): Add comment.
  725. 2007-08-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  726. PR libfortran/33055
  727. Revert previous patch.
  728. 2007-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  729. * io/write.c (stdbool.h): Add include. (sign_t): Move typedef to
  730. new file write_float.def. Include write_float.def.
  731. (extract_real): Delete. (calculate_sign): Delete.
  732. (calculate_exp): Delete. (calculate_G_format): Delete.
  733. (output_float): Delete. (write_float): Delete.
  734. * io/write_float.def (calculate_sign): Added.
  735. (output_float): Refactored to be independent of kind and added to this
  736. file for inclusion. (write_infnan): New function to write "Infinite"
  737. or "NaN" depending on flags passed, independent of kind.
  738. (CALCULATE_EXP): New macro to build kind specific functions. Use it.
  739. (OUTPUT_FLOAT_FMT_G): New macro, likewise. Use it.
  740. (DTOA, DTOAL): Macros to implement "decimal to ascii".
  741. (WRITE_FLOAT): New macro for kind specific write_float functions.
  742. (write_float): Revised function to determine kind and use WRITE_FLOAT
  743. to implement kind specific output.
  744. 2007-08-26 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  745. PR libfortran/33055
  746. * io/inquire.c (inquire_via_unit): If inquiring by unit, check for
  747. an error condition from the IOSTAT variable and set EXIST to false if
  748. there was a bad unit number.
  749. 2007-08-24 Thomas Koenig <tkoenig@gcc.gnu.org>
  750. PR fortran/32972
  751. * libgfortran.h: Remove GFOR_POINTER_L8_TO_L4 macro.
  752. Add GFOR_POINTER_TO_L1 macro.
  753. * m4/iforeach.m4(`m'name`'rtype_qual`_'atype_code):
  754. Change argument 'mask' to gfc_array_l1. Adjust prototype.
  755. Change mask pointer to GFC_LOGICAL_1. Multiply strides
  756. by kind of mask
  757. * m4/ifunction.m4: Likewise.
  758. * intrinsics/pack_generic.c(pack_internal): Likewise.
  759. * intrinsics/unpack_generic.c(unpack_internal): Likewise.
  760. * m4/matmull.m4: Switch to GFC_LOGICAL_1. Multiply strides by
  761. kind of logical arguments a and b.
  762. * generated/matmul_l16.c: Regenerated.
  763. * generated/matmul_l4.c: Regenerated.
  764. * generated/matmul_l8.c: Regenerated.
  765. * generated/maxloc0_16_i1.c: Regenerated.
  766. * generated/maxloc0_16_i16.c: Regenerated.
  767. * generated/maxloc0_16_i2.c: Regenerated.
  768. * generated/maxloc0_16_i4.c: Regenerated.
  769. * generated/maxloc0_16_i8.c: Regenerated.
  770. * generated/maxloc0_16_r10.c: Regenerated.
  771. * generated/maxloc0_16_r16.c: Regenerated.
  772. * generated/maxloc0_16_r4.c: Regenerated.
  773. * generated/maxloc0_16_r8.c: Regenerated.
  774. * generated/maxloc0_4_i1.c: Regenerated.
  775. * generated/maxloc0_4_i16.c: Regenerated.
  776. * generated/maxloc0_4_i2.c: Regenerated.
  777. * generated/maxloc0_4_i4.c: Regenerated.
  778. * generated/maxloc0_4_i8.c: Regenerated.
  779. * generated/maxloc0_4_r10.c: Regenerated.
  780. * generated/maxloc0_4_r16.c: Regenerated.
  781. * generated/maxloc0_4_r4.c: Regenerated.
  782. * generated/maxloc0_4_r8.c: Regenerated.
  783. * generated/maxloc0_8_i1.c: Regenerated.
  784. * generated/maxloc0_8_i16.c: Regenerated.
  785. * generated/maxloc0_8_i2.c: Regenerated.
  786. * generated/maxloc0_8_i4.c: Regenerated.
  787. * generated/maxloc0_8_i8.c: Regenerated.
  788. * generated/maxloc0_8_r10.c: Regenerated.
  789. * generated/maxloc0_8_r16.c: Regenerated.
  790. * generated/maxloc0_8_r4.c: Regenerated.
  791. * generated/maxloc0_8_r8.c: Regenerated.
  792. * generated/maxloc1_16_i1.c: Regenerated.
  793. * generated/maxloc1_16_i16.c: Regenerated.
  794. * generated/maxloc1_16_i2.c: Regenerated.
  795. * generated/maxloc1_16_i4.c: Regenerated.
  796. * generated/maxloc1_16_i8.c: Regenerated.
  797. * generated/maxloc1_16_r10.c: Regenerated.
  798. * generated/maxloc1_16_r16.c: Regenerated.
  799. * generated/maxloc1_16_r4.c: Regenerated.
  800. * generated/maxloc1_16_r8.c: Regenerated.
  801. * generated/maxloc1_4_i1.c: Regenerated.
  802. * generated/maxloc1_4_i16.c: Regenerated.
  803. * generated/maxloc1_4_i2.c: Regenerated.
  804. * generated/maxloc1_4_i4.c: Regenerated.
  805. * generated/maxloc1_4_i8.c: Regenerated.
  806. * generated/maxloc1_4_r10.c: Regenerated.
  807. * generated/maxloc1_4_r16.c: Regenerated.
  808. * generated/maxloc1_4_r4.c: Regenerated.
  809. * generated/maxloc1_4_r8.c: Regenerated.
  810. * generated/maxloc1_8_i1.c: Regenerated.
  811. * generated/maxloc1_8_i16.c: Regenerated.
  812. * generated/maxloc1_8_i2.c: Regenerated.
  813. * generated/maxloc1_8_i4.c: Regenerated.
  814. * generated/maxloc1_8_i8.c: Regenerated.
  815. * generated/maxloc1_8_r10.c: Regenerated.
  816. * generated/maxloc1_8_r16.c: Regenerated.
  817. * generated/maxloc1_8_r4.c: Regenerated.
  818. * generated/maxloc1_8_r8.c: Regenerated.
  819. * generated/maxval_i1.c: Regenerated.
  820. * generated/maxval_i16.c: Regenerated.
  821. * generated/maxval_i2.c: Regenerated.
  822. * generated/maxval_i4.c: Regenerated.
  823. * generated/maxval_i8.c: Regenerated.
  824. * generated/maxval_r10.c: Regenerated.
  825. * generated/maxval_r16.c: Regenerated.
  826. * generated/maxval_r4.c: Regenerated.
  827. * generated/maxval_r8.c: Regenerated.
  828. * generated/minloc0_16_i1.c: Regenerated.
  829. * generated/minloc0_16_i16.c: Regenerated.
  830. * generated/minloc0_16_i2.c: Regenerated.
  831. * generated/minloc0_16_i4.c: Regenerated.
  832. * generated/minloc0_16_i8.c: Regenerated.
  833. * generated/minloc0_16_r10.c: Regenerated.
  834. * generated/minloc0_16_r16.c: Regenerated.
  835. * generated/minloc0_16_r4.c: Regenerated.
  836. * generated/minloc0_16_r8.c: Regenerated.
  837. * generated/minloc0_4_i1.c: Regenerated.
  838. * generated/minloc0_4_i16.c: Regenerated.
  839. * generated/minloc0_4_i2.c: Regenerated.
  840. * generated/minloc0_4_i4.c: Regenerated.
  841. * generated/minloc0_4_i8.c: Regenerated.
  842. * generated/minloc0_4_r10.c: Regenerated.
  843. * generated/minloc0_4_r16.c: Regenerated.
  844. * generated/minloc0_4_r4.c: Regenerated.
  845. * generated/minloc0_4_r8.c: Regenerated.
  846. * generated/minloc0_8_i1.c: Regenerated.
  847. * generated/minloc0_8_i16.c: Regenerated.
  848. * generated/minloc0_8_i2.c: Regenerated.
  849. * generated/minloc0_8_i4.c: Regenerated.
  850. * generated/minloc0_8_i8.c: Regenerated.
  851. * generated/minloc0_8_r10.c: Regenerated.
  852. * generated/minloc0_8_r16.c: Regenerated.
  853. * generated/minloc0_8_r4.c: Regenerated.
  854. * generated/minloc0_8_r8.c: Regenerated.
  855. * generated/minloc1_16_i1.c: Regenerated.
  856. * generated/minloc1_16_i16.c: Regenerated.
  857. * generated/minloc1_16_i2.c: Regenerated.
  858. * generated/minloc1_16_i4.c: Regenerated.
  859. * generated/minloc1_16_i8.c: Regenerated.
  860. * generated/minloc1_16_r10.c: Regenerated.
  861. * generated/minloc1_16_r16.c: Regenerated.
  862. * generated/minloc1_16_r4.c: Regenerated.
  863. * generated/minloc1_16_r8.c: Regenerated.
  864. * generated/minloc1_4_i1.c: Regenerated.
  865. * generated/minloc1_4_i16.c: Regenerated.
  866. * generated/minloc1_4_i2.c: Regenerated.
  867. * generated/minloc1_4_i4.c: Regenerated.
  868. * generated/minloc1_4_i8.c: Regenerated.
  869. * generated/minloc1_4_r10.c: Regenerated.
  870. * generated/minloc1_4_r16.c: Regenerated.
  871. * generated/minloc1_4_r4.c: Regenerated.
  872. * generated/minloc1_4_r8.c: Regenerated.
  873. * generated/minloc1_8_i1.c: Regenerated.
  874. * generated/minloc1_8_i16.c: Regenerated.
  875. * generated/minloc1_8_i2.c: Regenerated.
  876. * generated/minloc1_8_i4.c: Regenerated.
  877. * generated/minloc1_8_i8.c: Regenerated.
  878. * generated/minloc1_8_r10.c: Regenerated.
  879. * generated/minloc1_8_r16.c: Regenerated.
  880. * generated/minloc1_8_r4.c: Regenerated.
  881. * generated/minloc1_8_r8.c: Regenerated.
  882. * generated/minval_i1.c: Regenerated.
  883. * generated/minval_i16.c: Regenerated.
  884. * generated/minval_i2.c: Regenerated.
  885. * generated/minval_i4.c: Regenerated.
  886. * generated/minval_i8.c: Regenerated.
  887. * generated/minval_r10.c: Regenerated.
  888. * generated/minval_r16.c: Regenerated.
  889. * generated/minval_r4.c: Regenerated.
  890. * generated/minval_r8.c: Regenerated.
  891. * generated/product_c10.c: Regenerated.
  892. * generated/product_c16.c: Regenerated.
  893. * generated/product_c4.c: Regenerated.
  894. * generated/product_c8.c: Regenerated.
  895. * generated/product_i1.c: Regenerated.
  896. * generated/product_i16.c: Regenerated.
  897. * generated/product_i2.c: Regenerated.
  898. * generated/product_i4.c: Regenerated.
  899. * generated/product_i8.c: Regenerated.
  900. * generated/product_r10.c: Regenerated.
  901. * generated/product_r16.c: Regenerated.
  902. * generated/product_r4.c: Regenerated.
  903. * generated/product_r8.c: Regenerated.
  904. * generated/sum_c10.c: Regenerated.
  905. * generated/sum_c16.c: Regenerated.
  906. * generated/sum_c4.c: Regenerated.
  907. * generated/sum_c8.c: Regenerated.
  908. * generated/sum_i1.c: Regenerated.
  909. * generated/sum_i16.c: Regenerated.
  910. * generated/sum_i2.c: Regenerated.
  911. * generated/sum_i4.c: Regenerated.
  912. * generated/sum_i8.c: Regenerated.
  913. * generated/sum_r10.c: Regenerated.
  914. * generated/sum_r16.c: Regenerated.
  915. * generated/sum_r4.c: Regenerated.
  916. * generated/sum_r8.c: Regenerated.
  917. 2007-08-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  918. PR libfortran/23138
  919. * acinclude.m4 (LIBGFOR_CHECK_MINGW_SNPRINTF): New check.
  920. * configure.ac: Use LIBGFOR_CHECK_MINGW_SNPRINTF.
  921. * libgfortran.h: If HAVE_MINGW_SNPRINTF is true, use __mingw_snprintf
  922. instead of snprintf.
  923. * config.h.in: Regenerate.
  924. * configure: Regenerate.
  925. 2007-08-22 Bernhard Fischer <rep.dot.nop@gmail.com>
  926. * libgfortran/Makefile.am (AM_CPPFLAGS): Commentary typo fix.
  927. 2007-08-17 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  928. PR fortran/33079
  929. * intrinsics/string_intrinsics.c (string_trim, string_minmax): Fix
  930. the zero-length result case.
  931. 2007-08-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  932. PR fortran/33077
  933. * intrinsics/random.c (random_seed_i8): Fix code logic.
  934. 2007-08-13 Danny Smith <dannysmit@users.sourceforge.net>
  935. * acinclude.m4 (GTHREAD_USE_WEAK) Define to 0 for mingw32.
  936. * configure: Regenerate.
  937. 2007-08-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  938. PR fortran/30964
  939. PR fortran/33054
  940. * intrinsics/random.c (random_seed): Rename into random_seed_i4.
  941. (random_seed_i8): New function.
  942. * gfortran.map (GFORTRAN_1.0): Remove _gfortran_random_seed,
  943. add _gfortran_random_seed_i4 and _gfortran_random_seed_i8.
  944. * libgfortran.h (iexport_proto): Replace random_seed by
  945. random_seed_i4 and random_seed_i8.
  946. * runtime/main.c (init): Call the new random_seed_i4.
  947. 2007-08-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  948. Tobias Burnus <burnus@gcc.gnu.org>
  949. PR fortran/31189
  950. * runtime/backtrace.c (show_backtrace): Skip _gfortrani_handler
  951. when displaying backtrace.
  952. * runtime/compile_options.c: Include <signal.h>.
  953. (handler): New function.
  954. (set_options): Set signal handlers for backtrace.
  955. * libgfortran.h (handler): Add prototype.
  956. 2007-08-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  957. * intrinsics/string_intrinsics.c (compare_string): Return an int.
  958. * libgfortran.h (compare_string): Likewise.
  959. 2007-08-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  960. PR fortran/31270
  961. * runtime/error.c (runtime_error_at): Add a variable number of
  962. arguments.
  963. * libgfortran.h (runtime_error_at): Update prototype.
  964. 2007-08-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  965. PR fortran/32933
  966. * intrinsics/associated.c: Change return type of associated into
  967. a C int.
  968. 2007-08-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  969. PR libfortran/33039
  970. * io/list_read.c (find_nml_name): Check for a space after a namelist
  971. name match.
  972. 2007-08-09 Tobias Burnus <burnus@net-b.de>
  973. PR fortran/32987
  974. * io/format.c (next_char): Treat '\t' as ' ' in format specification.
  975. 2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  976. PR fortran/30947
  977. * intrinsics/signal.c: Create specific versions of alarm_sub and
  978. alarm_sub_int according to the integer kind of the last argument.
  979. * gfortran.map (GFORTRAN_1.0): Remove _gfortran_alarm_sub and
  980. _gfortran_alarm_sub_int, add _gfortran_alarm_sub_i4,
  981. _gfortran_alarm_sub_i8, _gfortran_alarm_sub_int_i4 and
  982. _gfortran_alarm_sub_int_i8.
  983. 2007-08-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  984. PR fortran/29828
  985. * intrinsics/string_intrinsics.c (string_minmax): New function
  986. and prototype.
  987. * gfortran.map (GFORTRAN_1.0): Add _gfortran_string_minmax
  988. 2007-08-05 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  989. PR fortran/31202
  990. * intrinsics/c99_functions.c (roundl): Provide fallback
  991. implementation for systems without ceill.
  992. * c99_protos.h (roundl): Define prototype in all cases.
  993. 2007-08-03 Thomas Koenig <tkoenig@gcc.gnu.org>
  994. PR libfortran/32977
  995. * io/unix.c: If there is no vsnprintf, use vsprintf and issue
  996. a fatal error when a buffer overrun occurs.
  997. 2007-08-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  998. PR fortran/31202
  999. * intrinsics/c99_functions.c (roundl,lroundf,lround,lroundl,
  1000. llroundf,llround,llroundl): New functions.
  1001. * c99_protos.h (roundl,lroundf,lround,lroundl,llroundf,llround,
  1002. llroundl): New prototypes.
  1003. * configure.ac: Check for lroundf, lround, lroundl, llroundf,
  1004. llround and llroundl.
  1005. * configure: Regenerate.
  1006. * Makefile.in: Regenerate.
  1007. * config.h.in: Regenerate.
  1008. 2007-07-30 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1009. * libgfortran.h: Include <stdarg.h>.
  1010. 2007-07-29 Thomas Koenig <tkoenig@gcc.gnu.org>
  1011. PR libfortran/32858
  1012. PR libfortran/30814
  1013. * configure.ac: Added checks for presence of stdio.h and
  1014. stdarg.h. Test presence of vsnprintf().
  1015. * configure: Regenerated.
  1016. * config.h.in: Regenerated.
  1017. * libgfortran.h: Include <stdio.h>. Add printf attribute to
  1018. prototype of runtime_error. Remove prototype for st_sprintf.
  1019. Add prototype for st_vprintf.
  1020. * runtime/main.c (store_exec_path): Replace st_sprintf by sprintf.
  1021. * runtime/error.c (st_sprintf): Remove.
  1022. (runtime_error): Rewrite as a variadic function. Call
  1023. st_vprintf().
  1024. * intrinsics/pack_generic.c: Output extents of LHS and RHS for
  1025. bounds error.
  1026. * io/open.c (new_unit): Replace st_sprintf by sprintf.
  1027. * io/list_read.c (convert_integer): Likewise.
  1028. (parse_repeat): Likewise.
  1029. (read_logical): Likewise.
  1030. (read_character): Likewise.
  1031. (parse_real): Likewise.
  1032. (read_real): Likewise.
  1033. (check_type): Likewise.
  1034. (nml_parse_qualifyer): Likewise.
  1035. (nml_read_obj): Likewise.
  1036. (nml_get_ojb_data): Likewise.
  1037. * io/unix.c (init_error_stream): Remove.
  1038. (tempfile): Replace st_sprintf by sprintf.
  1039. (st_vprintf): New function.
  1040. (st_printf): Rewrite to call st_vprintf.
  1041. * io/transfer.c (require_type): Replace st_sprintf by sprintf.
  1042. * io/format.c (format_error): Likewise.
  1043. * io/write.c (nml_write_obj): Likewise.
  1044. 2007-07-27 Janne Blomqvist <jb@gcc.gnu.org>
  1045. * io/transfer.c (st_set_nml_var_dim): Use index_type instead of
  1046. GFC_INTEGER_4 for array descriptor triplets.
  1047. 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1048. * io/unix.c (stream_ttyname): Mark argument as potentialy unused.
  1049. 2007-07-27 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1050. PR fortran/32035
  1051. * runtime/select.c (select_string): Adjust prototype and function
  1052. so that the return value is an integer, not a pointer.
  1053. 2007-07-24 Tobias Burnus <burnus@net-b.de>
  1054. * libgfortran.h: Add bounds_check to compile_options_t.
  1055. 2007-07-24 Thomas Koenig <tkoenig@gcc.gnu.org>
  1056. PR fortran/30814
  1057. * libgfortran.h: Add bounds_check to compile_options_t.
  1058. * runtime/compile_options.c (set_options): Add handling
  1059. of compile_options.bounds_check.
  1060. * intrinsics/pack_generic.c (pack_internal): Also determine
  1061. the number of elements if compile_options.bounds_check is
  1062. true. Raise runtime error if a different array shape is
  1063. detected.
  1064. 2007-07-23 Christopher D. Rickett <crickett@lanl.gov>
  1065. PR fortran/32600
  1066. * intrinsics/iso_c_binding.c (c_funloc): Remove.
  1067. * intrinsics/iso_c_binding.h: Remove c_funloc.
  1068. * gfortran.map: Ditto.
  1069. 2007-07-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1070. * io/read.c (convert_real): Generate error only on EINVAL.
  1071. 2007-07-21 Christopher D. Rickett <crickett@lanl.gov>
  1072. PR fortran/32627
  1073. * libgfortran/intrinsics/iso_c_generated_procs.c: Add c_f_pointer
  1074. for character/string arguments.
  1075. * libgfortran/intrinsic/iso_c_binding.c (c_f_pointer_u0): Allow
  1076. the optional SHAPE arg to be any valid integer kind.
  1077. * libgfortran/gfortran.map: Add c_f_pointer_s0.
  1078. * libgfortran/mk-kinds-h.sh: Save smallest integer kind as default
  1079. character kind.
  1080. * libgfortran/intrinsics/iso_c_generated_procs.c: Add versions of
  1081. c_f_pointer for complex and logical types.
  1082. * libgfortran/gfortran.map: Add c_f_pointer versions for logical
  1083. and complex types.
  1084. 2007-07-19 Christopher D. Rickett <crickett@lanl.gov>
  1085. PR fortran/32600
  1086. * libgfortran/intrinsics/iso_c_binding.c: Remove C_LOC.
  1087. * libgfortran/intrinsics/iso_c_binding.h: Ditto.
  1088. * libgfortran/gfortran.map: Ditto.
  1089. 2007-07-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1090. Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1091. PR fortran/32611
  1092. * runtime/compile_options.c (set_std): Remove.
  1093. (set_options): New function.
  1094. (init_compile_options): Add initialization for -fsign-zero option.
  1095. * gfortran.map (GFORTRAN_1.0): Rename _gfortran_set_std into
  1096. _gfortran_set_options.
  1097. * libgfortran.h (compile_options_t): Add sign_zero field.
  1098. * io/write.c (output_float): Use the sign bit of the value to determine
  1099. if a negative sign should be emitted for zero values. Do not emit the
  1100. negative sign for zero if -fno-sign-zero was set during compile.
  1101. 2007-07-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1102. PR libgfortran/32752
  1103. * io/unix.c (unix_stream): Move buffer pointer adjacent to
  1104. small_buffer.
  1105. * io/transfer.c (formatted_transfer_scalar): If stream I/O, set
  1106. bytes_used to zero. Fix off by one error in calculation of pos and
  1107. skips. Eliminate duplicate pending_spaces check.
  1108. 2007-07-15 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1109. PR fortran/32357
  1110. * intrinsics/mvbits.c: Change prototype so that FROMPOS, LEN and
  1111. TOPOS arguments are C int.
  1112. 2007-07-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1113. PR libgfortran/32702
  1114. * io/unix.c (unix_stream): Restore buffer pointer and small_buffer.
  1115. (fd_alloc): If the number of bytes needed is greater than the default
  1116. BUFFER_SIZE, allocate a new buffer large enough. Free the old buffer
  1117. if necessary. (fd_sfree): Restore use of buffer pointer.
  1118. (fd_close): Likewise. (fd_open): Likewise.
  1119. (init_error_stream): Likewise.
  1120. 2007-07-09 Thomas Koenig <tkoenig@gcc.gnu.org>
  1121. PR libfortran/32336
  1122. * m4/matmul.m4: When the dimension of b is incorrect,
  1123. raise a runtime error instead of a failed assertion.
  1124. * generated/matmul_i1.c: Regenerated.
  1125. * generated/matmul_i2.c: Regenerated.
  1126. * generated/matmul_i4.c: Regenerated.
  1127. * generated/matmul_i8.c: Regenerated.
  1128. * generated/matmul_i16.c: Regenerated.
  1129. * generated/matmul_r4.c: Regenerated.
  1130. * generated/matmul_r8.c: Regenerated.
  1131. * generated/matmul_r10.c: Regenerated.
  1132. * generated/matmul_r16.c: Regenerated.
  1133. 2007-07-08 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1134. PR libgfortran/32678
  1135. * io/transfer.c (formatted_transfer_scalar): Don't allow
  1136. pending_spaces to go negative.
  1137. 2007-07-08 Thomas Koenig <tkoenig@gcc.gnu.org>
  1138. PR libfortran/32217
  1139. * intrinsics/unpack_generic.c: If the destination array is
  1140. empty, return early.
  1141. 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
  1142. * aclocal.m4: Regenerated.
  1143. 2007-07-04 David Edelsohn <edelsohn@gnu.org>
  1144. * configure.ac: SUBST CFLAGS.
  1145. * configure: Regenerate.
  1146. 2007-07-03 Janne Blomqvist <jb@gcc.gnu.org>
  1147. * libgfortran.h: Mark internal_malloc_size as a malloc function.
  1148. * runtime/memory.c (internal_realloc_size): Remove.
  1149. (internal_realloc): Call realloc directly instead of
  1150. internal_realloc_size.
  1151. (allocate_size): Remove.
  1152. (allocate): Call malloc directly instead of allocate_size, mark as
  1153. malloc function.
  1154. 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
  1155. Restore collateral damage from ISO C Binding merge.
  1156. 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1157. PR libgfortran/32456
  1158. * io/unit.c (filename_from_unit): Don't use find_unit, instead search
  1159. for unit directly.
  1160. 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
  1161. * Makefile.in: Regenerated with automake 1.9.6.
  1162. 2007-07-02 Steven G. Kargl <kargl@gcc.gnu.org>
  1163. * Makefile.in: Remove extraneous kill.lo rule.
  1164. 2007-07-02 Janne Blomqvist <jb@gcc.gnu.org>
  1165. PR fortran/32239
  1166. * generated/pow_r*_i4.c: Removed.
  1167. 2007-07-01 Christopher D. Rickett <crickett@lanl.gov>
  1168. * Makefile.in: Add support for iso_c_generated_procs.c and
  1169. iso_c_binding.c.
  1170. * Makefile.am: Ditto.
  1171. * intrinsics/iso_c_generated_procs.c: New file containing helper
  1172. functions.
  1173. * intrinsics/iso_c_binding.c: Ditto.
  1174. * intrinsics/iso_c_binding.h: New file
  1175. * gfortran.map: Include the __iso_c_binding_c_* functions.
  1176. * libgfortran.h: define GFC_NUM_RANK_BITS.
  1177. 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
  1178. PR fortran/32239
  1179. * Makefile.am: Don't generate real**int4 pow functions.
  1180. * gfortran.map: Remove real**int4 pow symbols.
  1181. * Makefile.in: Regenerated.
  1182. 2007-07-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1183. PR libgfortran/32554
  1184. * io/write.c (output_float): Set edigits to a fixed size, avoiding
  1185. variation in field width calculation and eliminate buffer overrun.
  1186. 2007-07-01 Janne Blomqvist <jb@gcc.gnu.org>
  1187. * runtime/memory.c (internal_realloc): Use index_type for size
  1188. argument instead of GFC_INTEGER_4.
  1189. (allocate_array): Likewise.
  1190. (allocate): Likewise, add ifdef around unnecessary check.
  1191. (internal_reallo64): Remove.
  1192. (allocate_array64): Remove.
  1193. (allocate64): Remove.
  1194. * gfortran.map: Remove symbols for 64-bit allocation functions.
  1195. 2007-06-29 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1196. PR libgfortran/32456
  1197. * io/unit.c (filename_from_unit): Don't use find_unit, instead search
  1198. for unit directly.
  1199. 2007-06-24 Adam Nemet <anemet@caviumnetworks.com>
  1200. PR libfortran/32495
  1201. * runtime/backtrace.c (local_strcasestr): Rename from strcasestr.
  1202. (show_backtrace): Rename strcasestr to local_strcasestr.
  1203. 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1204. PR libgfortran/32456
  1205. * runtime/error.c (show_locus): Update to emit the unit number
  1206. and file name involved with the error. Use new function
  1207. filename_from_unit.
  1208. * libgfortran.h (filename_from_unit): Declare new function.
  1209. * io/unit.c (init_units): Set the unit file name for stdin, stdout,
  1210. and stderr for use later in error reporting.
  1211. (filename_from_unit): Add this new function.
  1212. 2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1213. PR libgfortran/32446
  1214. * io/write.c (output_float): Calculate ndigits correctly for large
  1215. numbered formats that must pad zeros before the decimal point.
  1216. 2007-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  1217. PR libfortran/32345
  1218. * runtime/backtrace.c (show_backtrace): Only use snprintf if
  1219. available.
  1220. 2007-06-10 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1221. PR libgfortran/32235
  1222. * io/transfer.c (st_read): Remove test for end of file condition.
  1223. (next_record_r): Add test for end of file condition.
  1224. 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
  1225. * configure: Regenerate.
  1226. 2007-05-28 Tobias Burnus <burnus@net-b.de>
  1227. PR fortran/32124
  1228. * runtime/memory.c (allocate_size): Use ERROR_ALLOCATION.
  1229. (allocate,allocate64): Use stat variable if present.
  1230. 2007-05-27 Janne Blomqvist <jb@gcc.gnu.org>
  1231. * runtime/string.c (compare0): Use gfc_charlen_type instead of
  1232. int.
  1233. (fstrlen): Likewise.
  1234. (find_option): Likewise.
  1235. (fstrcpy): Use gfc_charlen_type instead of int, return length.
  1236. (cf_strcpy): Likewise.
  1237. * libgfortran.h: Change string prototypes to use gfc_charlen_type.
  1238. * io/open.c (new_unit): Use snprintf if available.
  1239. * io/list_read.c (nml_touch_nodes): Use memcpy instead of
  1240. strcpy/strcat.
  1241. (nml_read_obj): Likewise.
  1242. * io/transfer.c (st_set_nml_var): Likewise.
  1243. * io/write.c (output_float): Use snprintf if available.
  1244. (nml_write_obj) Use memcpy instead of strcpy/strcat.
  1245. 2007-05-26 Janne Blomqvist <jb@gcc.gnu.org>
  1246. * io/unix.c (unix_stream): Rearrange struct members, remove
  1247. small_buffer.
  1248. (int_stream): New struct.
  1249. (fd_alloc): Always use existing buffer, never reallocate.
  1250. (fd_sfree): Remove check for buffer != small_buffer.
  1251. (fd_close): Likewise.
  1252. (mem_alloc_r_at): Change to use int_stream.
  1253. (mem_alloc_w_at): Likewise.
  1254. (mem_read): Likewise.
  1255. (mem_write): Likewise.
  1256. (mem_set): Likewise.
  1257. (mem_truncate): Likewise.
  1258. (mem_close): Likewise.
  1259. (mem_sfree): Likewise.
  1260. (empty_internal_buffer): Likewise.
  1261. (open_internal): Likewise.
  1262. 2007-05-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1263. * io/transfer.c (unformatted_read): Use size from front end
  1264. eliminating use of size_from_real_kind.
  1265. (unformatted_write): Ditto.
  1266. 2007-05-23 Steve Ellcey <sje@cup.hp.com>
  1267. * Makefile.in: Regenerate.
  1268. * configure: Regenerate.
  1269. * aclocal.m4: Regenerate.
  1270. 2007-05-22 Tobias Burnus <burnus@net-b.de>
  1271. * libgfortran.h: Mark stop_numeric as noreturn.
  1272. 2007-05-22 Tobias Burnus <burnus@net-b.de>
  1273. PR libgfortran/31295
  1274. * intrinsics/eoshift0.c (eoshift0): Silence uninitialized warning.
  1275. * intrinsics/eoshift2.c (eoshift2): Ditto.
  1276. 2007-05-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1277. PR libfortran/31964
  1278. * intrinsics/ishftc.c (ishftc4, ishftc8, ishftc16): Fix mask to handle
  1279. shift of bit-size number of bits.
  1280. 2007-05-17 Tobias Burnus <burnus@net-b.de>
  1281. PR fortran/31917
  1282. * runtime/environ.c (mark_range): Fix setting default convert unit.
  1283. 2007-05-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1284. PR libfortran/31922
  1285. * intrinsics/string_intrinsics.c (string_trim): Set result to null if
  1286. string length is zero.
  1287. 2007-05-15 Tobias Burnus <burnus@net-b.de>
  1288. PR libfortran/31915
  1289. * io/transfer.c (unformatted_read): Use proper size for real(10).
  1290. (unformatted_write): Ditto.
  1291. 2007-05-14 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1292. PR fortran/30723
  1293. * runtime/memory.c (internal_malloc, internal_malloc64,
  1294. internal_free): Remove.
  1295. * runtime/error.c (os_error): Export function.
  1296. * intrinsics/move_alloc.c: Include stdlib.h.
  1297. (move_alloc): Call free instead of internal_free.
  1298. (move_alloc_c): Wrap long lines.
  1299. * libgfortran.h (os_error): Export prototype.
  1300. (internal_free): Remove prototype.
  1301. * gfortran.map (GFORTRAN_1.0): Remove _gfortran_internal_free,
  1302. _gfortran_internal_malloc and _gfortran_internal_malloc64.
  1303. Add _gfortran_os_error.
  1304. 2007-05-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1305. PR libfortran/31880
  1306. * io/unix.c (fd_alloc_r_at): Fix calculation of physical offset.
  1307. 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1308. PR libfortran/31607
  1309. * intrinsics/system.c (system_sub): Call flush_all_units.
  1310. * io/io.h (flush_all_units): Move prototype to libgfortran.h.
  1311. * libgfortran.h (flush_all_units): Add prototype.
  1312. 2007-05-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1313. PR libfortran/31201
  1314. * runtime/error.c (runtime_error_at): New function.
  1315. (generate_error): Export this function.
  1316. * gfortran.map: Add _gfortran_generate_error and
  1317. _gfortran_runtime_error_at.
  1318. * libgfortran.h: Add comment to reference error codes in front end.
  1319. (library_start): Locate prototype with library_end macro and add
  1320. a new comment. Add prototype for runtime_error_at. Export prototype
  1321. for generate_error.
  1322. * io/lock.c (library_start): Fix check for error condition.
  1323. * io/transfer.c (data_transfer_init): Add library check.
  1324. 2007-05-04 Daniel Franke <franke.daniel@gmail.com>
  1325. PR fortran/22359
  1326. * io/intrinsics.c (fseek_sub): New.
  1327. * io/unix.c (fd_fseek): Change logical and physical offsets only
  1328. if seek succeeds.
  1329. * gfortran.map (fseek_sub): New.
  1330. 2007-05-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1331. PR libfortran/31210
  1332. * io/transfer.c (transfer_character): Avoid passing a NULL
  1333. pointer as source to the transfer routines, if the string length
  1334. is zero.
  1335. 2007-04-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1336. PR libfortran/31501
  1337. * io/list_read.c (next_char): Fix whitespace.
  1338. * io/io.h: Remove prototypes and define macros for is_array_io,
  1339. is_stream_io, and is_internal_unit.
  1340. * io/unit.c (is_array_io), (is_internal_unit), (is_stream_io): Delete
  1341. these functions.
  1342. * io/transfer.c (read_sf): Change handling of internal_unit to make a
  1343. single call to salloc_r and use memcpy to transfer the data.
  1344. 2007-04-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1345. PR libfortran/31532
  1346. * io/file_pos.c (st_backspace): Set flags.position for end of file
  1347. condition and use new function update_position.
  1348. (st_endfile): Use new function update_position.
  1349. * io/io.h: Add prototype for new function.
  1350. * io/inquire.c (inquire_via_unit): If not direct access, set NEXTREC
  1351. to zero.
  1352. * io/unit.c (update_position): New function to update position info
  1353. used by inquire.
  1354. * io/transfer.c (next_record): Fix typo and use new function.
  1355. 2007-04-25 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1356. PR libfortran/31299
  1357. * intrinsics/getlog.c: Use getpwuid and geteuid instead of
  1358. getlogin if they are available.
  1359. * configure.ac: Add checks for getpwuid and geteuid.
  1360. * configure: Regenerate.
  1361. * config.h.in: Regenerate.
  1362. 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
  1363. * configure: Regenerate using autoconf 2.59.
  1364. * Makefile.in: Likewise.
  1365. * config.h.in: Likewise.
  1366. 2007-04-24 Janne Blomqvist <jb@gcc.gnu.org>
  1367. PR libfortran/27740
  1368. * configure.ac: New test to determine if symbol versioning is
  1369. supported.
  1370. * Makefile.am: Use result of above test to add appropriate linker
  1371. flags.
  1372. * gfortran.map: New file.
  1373. * configure: Regenerated.
  1374. * Makefile.in: Regenerated.
  1375. * config.h.in: Regenerated.
  1376. 2007-04-23 Thomas Koenig <tkoenig@gcc.gnu.org>
  1377. PR fortran/31618
  1378. * io/transfer.c (read_block_direct): Instead of calling us_read,
  1379. set dtp->u.p.current_unit->current_record = 0 so that pre_position
  1380. will read the record marker.
  1381. (data_transfer_init): For different error conditions, call
  1382. generate_error, then return.
  1383. 2007-04-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1384. * runtime/main.c (please_free_exe_path_when_done): New variable.
  1385. (store_exe_path): Initialize character buffer, and mark whether
  1386. exe_path should be free'd by the library destructor function.
  1387. (cleanup): Only free exe_path if needed.
  1388. 2007-04-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1389. Tobias Burnus <burnus@net-b.de>
  1390. PR libfortran/31286
  1391. PR libfortran/31296
  1392. * intrinsics/cshift0.c (cshift0): Initialize sstride[0] and rstride[0].
  1393. * intrinsics/unpack_generic.c (unpack0, unpack0_char): Zero the
  1394. array structures we pass to unpack_internal.
  1395. 2007-04-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1396. * io/open.c (test_endfile): Revert changes for 31052, restoring this
  1397. function.
  1398. 2007-04-14 Steve Ellcey <sje@cup.hp.com>
  1399. * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. Add libgfortran_la_LINK.
  1400. * Makefile.in: Regenerate.
  1401. 2007-04-11 Kai Tietz <kai.tietz@onevision.com>
  1402. * configure: Regenerate.
  1403. 2007-04-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1404. * intrinsics/cpu_time.c: Don't include headers already included
  1405. by libgfortran.h. Protect inclusion of sys/times.h.
  1406. * configure.ac: Remove unneeded checks for finit, stdio.h,
  1407. stddef.h, math.h and sys/params.h.
  1408. * config/fpu-aix.h: Don't include headers already included by
  1409. libgfortran.h.
  1410. * config/fpu-sysv.h: Likewise.
  1411. * io/write.c: Likewise.
  1412. * m4/minloc1.m4: Likewise.
  1413. * m4/maxloc1.m4: Likewise.
  1414. * m4/fraction.m4: Likewise.
  1415. * m4/set_exponent.m4: Likewise.
  1416. * m4/spacing.m4: Likewise.
  1417. * m4/minval.m4: Likewise.
  1418. * m4/maxval.m4: Likewise.
  1419. * m4/exponent.m4: Likewise.
  1420. * m4/nearest.m4: Likewise.
  1421. * m4/minloc0.m4: Likewise.
  1422. * m4/maxloc0.m4: Likewise.
  1423. * m4/rrspacing.m4: Likewise.
  1424. * runtime/main.c: Likewise.
  1425. * runtime/error.c: Likewise.
  1426. * intrinsics/system_clock.c: Likewise.
  1427. * intrinsics/etime.c: Likewise.
  1428. * intrinsics/stat.c: Likewise.
  1429. * intrinsics/date_and_time.c: Likewise.
  1430. * intrinsics/env.c: Likewise.
  1431. * intrinsics/kill.c: Likewise.
  1432. * intrinsics/getXid.c: Likewise.
  1433. * intrinsics/chmod.c: Likewise.
  1434. * intrinsics/args.c: Likewise.
  1435. * intrinsics/c99_functions.c: Likewise.
  1436. * generated/minval_r8.c: Regenerate.
  1437. * generated/maxloc1_4_r8.c: Regenerate.
  1438. * generated/minloc1_16_r16.c: Regenerate.
  1439. * generated/maxval_i2.c: Regenerate.
  1440. * generated/maxloc1_8_i4.c: Regenerate.
  1441. * generated/exponent_r16.c: Regenerate.
  1442. * generated/maxloc0_4_r4.c: Regenerate.
  1443. * generated/fraction_r16.c: Regenerate.
  1444. * generated/fraction_r4.c: Regenerate.
  1445. * generated/minloc0_4_r16.c: Regenerate.
  1446. * generated/minloc0_4_i1.c: Regenerate.
  1447. * generated/maxloc0_4_r16.c: Regenerate.
  1448. * generated/maxloc0_4_i2.c: Regenerate.
  1449. * generated/minloc1_8_r16.c: Regenerate.
  1450. * generated/maxloc1_8_r16.c: Regenerate.
  1451. * generated/set_exponent_r8.c: Regenerate.
  1452. * generated/maxloc0_8_i8.c: Regenerate.
  1453. * generated/minloc1_4_r8.c: Regenerate.
  1454. * generated/maxloc1_16_r16.c: Regenerate.
  1455. * generated/minloc1_16_i4.c: Regenerate.
  1456. * generated/maxloc1_16_i4.c: Regenerate.
  1457. * generated/minloc0_16_i8.c: Regenerate.
  1458. * generated/maxloc0_16_i8.c: Regenerate.
  1459. * generated/nearest_r8.c: Regenerate.
  1460. * generated/spacing_r16.c: Regenerate.
  1461. * generated/maxval_r16.c: Regenerate.
  1462. * generated/minloc1_8_i4.c: Regenerate.
  1463. * generated/minloc0_16_i16.c: Regenerate.
  1464. * generated/minloc0_4_r4.c: Regenerate.
  1465. * generated/set_exponent_r10.c: Regenerate.
  1466. * generated/rrspacing_r10.c: Regenerate.
  1467. * generated/minloc0_4_i2.c: Regenerate.
  1468. * generated/maxloc0_8_i1.c: Regenerate.
  1469. * generated/minloc0_8_i8.c: Regenerate.
  1470. * generated/spacing_r4.c: Regenerate.
  1471. * generated/minloc1_16_r10.c: Regenerate.
  1472. * generated/minloc0_16_i1.c: Regenerate.
  1473. * generated/maxloc0_16_i1.c: Regenerate.
  1474. * generated/maxloc1_8_r8.c: Regenerate.
  1475. * generated/minval_i16.c: Regenerate.
  1476. * generated/exponent_r10.c: Regenerate.
  1477. * generated/maxval_i4.c: Regenerate.
  1478. * generated/minval_i8.c: Regenerate.
  1479. * generated/maxloc1_4_i8.c: Regenerate.
  1480. * generated/fraction_r10.c: Regenerate.
  1481. * generated/maxloc0_16_i16.c: Regenerate.
  1482. * generated/maxloc0_8_r4.c: Regenerate.
  1483. * generated/rrspacing_r8.c: Regenerate.
  1484. * generated/minloc1_4_i16.c: Regenerate.
  1485. * generated/minloc0_4_r10.c: Regenerate.
  1486. * generated/maxloc1_4_i16.c: Regenerate.
  1487. * generated/minloc0_8_i16.c: Regenerate.
  1488. * generated/maxloc0_4_r10.c: Regenerate.
  1489. * generated/maxloc0_8_i16.c: Regenerate.
  1490. * generated/minloc1_8_r10.c: Regenerate.
  1491. * generated/minloc0_16_r4.c: Regenerate.
  1492. * generated/maxloc1_8_r10.c: Regenerate.
  1493. * generated/maxloc0_16_r4.c: Regenerate.
  1494. * generated/minloc1_16_r8.c: Regenerate.
  1495. * generated/minloc0_8_i1.c: Regenerate.
  1496. * generated/maxloc0_4_i4.c: Regenerate.
  1497. * generated/maxloc1_16_r8.c: Regenerate.
  1498. * generated/maxloc0_8_i2.c: Regenerate.
  1499. * generated/nearest_r16.c: Regenerate.
  1500. * generated/maxloc1_16_r10.c: Regenerate.
  1501. * generated/minloc0_16_i2.c: Regenerate.
  1502. * generated/minloc1_8_r8.c: Regenerate.
  1503. * generated/maxloc0_16_i2.c: Regenerate.
  1504. * generated/exponent_r4.c: Regenerate.
  1505. * generated/spacing_r10.c: Regenerate.
  1506. * generated/maxval_r10.c: Regenerate.
  1507. * generated/minval_i1.c: Regenerate.
  1508. * generated/maxloc1_4_i1.c: Regenerate.
  1509. * generated/minloc1_4_i8.c: Regenerate.
  1510. * generated/minloc0_8_r4.c: Regenerate.
  1511. * generated/minloc0_16_r16.c: Regenerate.
  1512. * generated/minloc0_4_i4.c: Regenerate.
  1513. * generated/minloc0_8_i2.c: Regenerate.
  1514. * generated/minval_r4.c: Regenerate.
  1515. * generated/maxloc1_4_r4.c: Regenerate.
  1516. * generated/maxval_r8.c: Regenerate.
  1517. * generated/minval_r16.c: Regenerate.
  1518. * generated/minloc1_4_i1.c: Regenerate.
  1519. * generated/minval_i2.c: Regenerate.
  1520. * generated/maxloc1_4_i2.c: Regenerate.
  1521. * generated/maxloc1_8_i8.c: Regenerate.
  1522. * generated/maxloc0_4_r8.c: Regenerate.
  1523. * generated/maxloc0_16_r16.c: Regenerate.
  1524. * generated/minloc1_4_r16.c: Regenerate.
  1525. * generated/fraction_r8.c: Regenerate.
  1526. * generated/maxloc1_4_r16.c: Regenerate.
  1527. * generated/set_exponent_r4.c: Regenerate.
  1528. * generated/minloc0_8_r16.c: Regenerate.
  1529. * generated/maxloc0_8_r16.c: Regenerate.
  1530. * generated/nearest_r10.c: Regenerate.
  1531. * generated/maxloc0_8_i4.c: Regenerate.
  1532. * generated/minloc1_4_r4.c: Regenerate.
  1533. * generated/minloc0_16_i4.c: Regenerate.
  1534. * generated/maxloc0_16_i4.c: Regenerate.
  1535. * generated/nearest_r4.c: Regenerate.
  1536. * generated/minloc1_16_i8.c: Regenerate.
  1537. * generated/maxloc1_16_i8.c: Regenerate.
  1538. * generated/minloc1_4_i2.c: Regenerate.
  1539. * generated/maxloc1_8_i1.c: Regenerate.
  1540. * generated/minloc0_16_r10.c: Regenerate.
  1541. * generated/minloc1_8_i8.c: Regenerate.
  1542. * generated/minloc0_4_r8.c: Regenerate.
  1543. * generated/minloc0_8_i4.c: Regenerate.
  1544. * generated/minloc1_16_i16.c: Regenerate.
  1545. * generated/spacing_r8.c: Regenerate.
  1546. * generated/maxloc1_8_r4.c: Regenerate.
  1547. * generated/minloc1_16_i1.c: Regenerate.
  1548. * generated/maxloc1_16_i1.c: Regenerate.
  1549. * generated/minval_r10.c: Regenerate.
  1550. * generated/minval_i4.c: Regenerate.
  1551. * generated/minloc1_8_i1.c: Regenerate.
  1552. * generated/maxloc1_4_i4.c: Regenerate.
  1553. * generated/maxloc1_8_i2.c: Regenerate.
  1554. * generated/maxval_i8.c: Regenerate.
  1555. * generated/maxloc0_16_r10.c: Regenerate.
  1556. * generated/rrspacing_r4.c: Regenerate.
  1557. * generated/minloc0_4_i16.c: Regenerate.
  1558. * generated/maxloc0_8_r8.c: Regenerate.
  1559. * generated/maxloc0_4_i16.c: Regenerate.
  1560. * generated/minloc1_4_r10.c: Regenerate.
  1561. * generated/minloc1_8_i16.c: Regenerate.
  1562. * generated/maxloc1_4_r10.c: Regenerate.
  1563. * generated/minloc0_8_r10.c: Regenerate.
  1564. * generated/maxloc1_8_i16.c: Regenerate.
  1565. * generated/maxloc0_8_r10.c: Regenerate.
  1566. * generated/minloc1_16_r4.c: Regenerate.
  1567. * generated/maxloc1_16_r4.c: Regenerate.
  1568. * generated/minloc0_16_r8.c: Regenerate.
  1569. * generated/maxloc0_16_r8.c: Regenerate.
  1570. * generated/maxloc0_4_i8.c: Regenerate.
  1571. * generated/maxloc1_16_i16.c: Regenerate.
  1572. * generated/minloc1_8_r4.c: Regenerate.
  1573. * generated/minloc1_16_i2.c: Regenerate.
  1574. * generated/maxloc1_16_i2.c: Regenerate.
  1575. * generated/maxval_i16.c: Regenerate.
  1576. * generated/exponent_r8.c: Regenerate.
  1577. * generated/minloc1_4_i4.c: Regenerate.
  1578. * generated/maxval_i1.c: Regenerate.
  1579. * generated/minloc1_8_i2.c: Regenerate.
  1580. * generated/minloc0_8_r8.c: Regenerate.
  1581. * generated/set_exponent_r16.c: Regenerate.
  1582. * generated/maxloc0_4_i1.c: Regenerate.
  1583. * generated/rrspacing_r16.c: Regenerate.
  1584. * generated/minloc0_4_i8.c: Regenerate.
  1585. * generated/maxval_r4.c: Regenerate.
  1586. * configure: Regenerate.
  1587. * config.h.in: Regenerate.
  1588. 2007-04-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1589. PR libfortran/31395
  1590. * io/format.c (parse_format_list): Fix parsing.
  1591. 2007-04-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1592. PR fortran/31304
  1593. intrinsics/string_intrinsics.c (string_repeat): Remove.
  1594. 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1595. PR libfortran/31052
  1596. * io/open.c (test_endfile): Delete this function.
  1597. (edit_modes): Delete call to test_endfile.
  1598. (new_unit): Likewise.
  1599. * io/io.h: Delete prototype for test_endfile.
  1600. * io/transfer.c (next_record_r): Remove use of test_endfile.
  1601. (st_read): Add test for end file condition and adjust status.
  1602. 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1603. PR libfortran/31366
  1604. * io/transfer.c (read_block_direct): Do not generate error when reading
  1605. past EOF on a short record that is less than the RECL= specified.
  1606. 2007-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1607. PR libfortran/31207
  1608. * io/unit.c (close_unit_1): If there are bytes previously written from
  1609. ADVANCE="no", move to the end before closing.
  1610. 2007-03-31 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  1611. PR libfortran/31335
  1612. * intrinsics/stat.c: Only provide STAT and FSTAT library routines
  1613. if stat() and fstat() library functions are available. When lstat()
  1614. is not available, use stat() instead.
  1615. * configure.ac: Add checks for stat, fstat and lstat.
  1616. * configure: Regenerate.
  1617. * config.h.in: Regenerate.
  1618. 2007-03-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1619. PR libfortran/31052
  1620. * io/transfer.c (next_record_r): Do not call test_endfile if in
  1621. namelist mode.
  1622. 2007-03-25 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1623. PR libfortran/31199
  1624. * io/io.h: Add saved_pos to gfc_unit structure.
  1625. * io/open.c (new_unit): Initialize saved_pos.
  1626. * io/transfer.c (data_transfer_init): Set max_pos to value in
  1627. saved_pos.
  1628. (next_record_w): Fix whitespace.
  1629. (finalze_transfer): Calculate max_pos for ADVANCE="no" and save it for
  1630. later use. If not ADVANCE="no" set saved_pos to zero.
  1631. 2007-03-25 Thomas Koenig <tkoenig@gcc.gnu.org>
  1632. PR libfortran/31196
  1633. * intrinsics/reshape_generic.c (reshape_internal): Increment
  1634. correct variable.
  1635. 2007-03-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1636. PR libfortran/31052
  1637. * file_pos.c: Update Copyright year.
  1638. * io/open.c (test_endfile): Restore test_endfile to fix SPEC
  1639. regression. Update Copyright year.
  1640. * io/io.h: Same.
  1641. * io/unix.c (is_special): Add missing type for this function.
  1642. Update Copyright year.
  1643. * io/transfer.c (next_record_r): Restore test_endfile.
  1644. (st_read): Fix whitespace. Update Copyright year
  1645. 2007-03-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1646. * configure.ac: Add missing check for gettimeofday.
  1647. * config.h.in: Renegerate.
  1648. * configure: Regenerate.
  1649. 2007-03-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1650. PR libfortran/31052
  1651. * io/file_position (st_rewind): Fix comments. Remove use of
  1652. test_endfile. Don't seek if already at 0 position. Use new is_special
  1653. function to set endfile state.
  1654. * io/open.c (test_endfile): Delete this function.
  1655. * io/io.h: Delete prototype for test_endfile. Add prototype
  1656. for is_special.
  1657. * io/unix.c (is_special): New function. Fix whitespace.
  1658. * io/transfer.c (next_record_r): Remove use of test_endfile.
  1659. 2007-03-16 David Edelsohn <edelsohn@gnu.org>
  1660. * runtime/main.c: Include "config.h" first.
  1661. 2007-03-15 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1662. PR libfortran/31099
  1663. * io/file_pos.c (st_rewind): Don't set bytes_left to zero.
  1664. 2007-03-15 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1665. * runtime/backtrace.c: New file.
  1666. * runtime/environ.c (variable_table): New GFORTRAN_ERROR_BACKTRACE
  1667. environment variable.
  1668. * runtime/compile_options.c (set_std): Add new argument.
  1669. * runtime/main.c (store_exe_path, full_exe_path): New functions.
  1670. * runtime/error.c (sys_exit): Add call to show_backtrace.
  1671. * libgfortran.h (options_t): New backtrace field.
  1672. (store_exe_path, full_exe_path, show_backtrace): New prototypes.
  1673. * configure.ac: Add checks for execinfo.h, execvp, pipe, dup2,
  1674. close, fdopen, strcasestr, getrlimit, backtrace, backtrace_symbols
  1675. and getppid.
  1676. * Makefile.am: Add runtime/backtrace.c.
  1677. * fmain.c (main): Add call to store_exe_path.
  1678. * Makefile.in: Renegerate.
  1679. * config.h.in: Renegerate.
  1680. * configure: Regenerate.
  1681. 2007-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1682. PR libfortran/31051
  1683. * io/transfer.c (formatted_transfer_scalar): Adjust position for
  1684. pending spaces when in writing mode. Clean up some formatting.
  1685. 2007-03-14 Thomas Koenig <Thomas.Koenig@online.de>
  1686. PR libfortran/30690
  1687. * all.m4: Quote everything, except for m4 macros.
  1688. * any.m4: Likewise.
  1689. * count.m4: Likewise.
  1690. * cshift1.m4: Likewise.
  1691. * eoshift1.m4: Likewise.
  1692. * eoshift3.m4: Likewise.
  1693. * exponent.m4: Likewise.
  1694. * fraction.m4: Likewise.
  1695. * in_pack.m4: Likewise.
  1696. * in_unpack.m4: Likewise.
  1697. * matmul.m4: Likewise.
  1698. * matmull.m4: Likewise.
  1699. * nearest.m4: Likewise.
  1700. * pow.m4: Likewise.
  1701. * product.m4: Likewise.
  1702. * reshape.m4: Likewise.
  1703. * rrspacing.m4: Likewise.
  1704. * set_exponent.m4: Likewise.
  1705. * shape.m4: Likewise.
  1706. * spacing.m4: Likewise.
  1707. * transpose.m4: Likewise.
  1708. 2007-03-14 Jakub Jelinek <jakub@redhat.com>
  1709. * io/unix.c (regular_file): For ACTION_UNSPECIFIED retry with
  1710. O_RDONLY even if errno is EROFS.
  1711. 2007-03-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1712. PR libfortran/31099
  1713. * io/open.c (new_unit): Initialize bytes_left and recl_subrecord.
  1714. * io/transfer.c (next_record_w): Set bytes left to record length for
  1715. sequential unformatted I/O.
  1716. (next_record_r): Ditto.
  1717. (read_block_direct): Fix test for exceeding bytes_left.
  1718. 2007-03-08 Daniel Franke <franke.daniel@gmail.com>
  1719. PR fortran/30947
  1720. * intrinsics/signal.c (alarm_sub_int): Avoid SEGFAULT with
  1721. integer arguments.
  1722. 2007-03-04 Thomas Koenig <Thomas.Koenig@online.de>
  1723. PR libfortran/30981
  1724. * m4/pow_m4: Use appropriate unsigned int type for u.
  1725. * generated/pow_c10_i16.c: Regenerated.
  1726. * generated/pow_c10_i4.c: Regenerated.
  1727. * generated/pow_c10_i8.c: Regenerated.
  1728. * generated/pow_c16_i16.c: Regenerated.
  1729. * generated/pow_c16_i4.c: Regenerated.
  1730. * generated/pow_c16_i8.c: Regenerated.
  1731. * generated/pow_c4_i16.c: Regenerated.
  1732. * generated/pow_c4_i4.c: Regenerated.
  1733. * generated/pow_c4_i8.c: Regenerated.
  1734. * generated/pow_c8_i16.c: Regenerated.
  1735. * generated/pow_c8_i4.c: Regenerated.
  1736. * generated/pow_c8_i8.c: Regenerated.
  1737. * generated/pow_i16_i16.c: Regenerated.
  1738. * generated/pow_i16_i4.c: Regenerated.
  1739. * generated/pow_i16_i8.c: Regenerated.
  1740. * generated/pow_i4_i16.c: Regenerated.
  1741. * generated/pow_i4_i4.c: Regenerated.
  1742. * generated/pow_i4_i8.c: Regenerated.
  1743. * generated/pow_i8_i16.c: Regenerated.
  1744. * generated/pow_i8_i4.c: Regenerated.
  1745. * generated/pow_i8_i8.c: Regenerated.
  1746. * generated/pow_r10_i16.c: Regenerated.
  1747. * generated/pow_r10_i4.c: Regenerated.
  1748. * generated/pow_r10_i8.c: Regenerated.
  1749. * generated/pow_r16_i16.c: Regenerated.
  1750. * generated/pow_r16_i4.c: Regenerated.
  1751. * generated/pow_r16_i8.c: Regenerated.
  1752. * generated/pow_r4_i16.c: Regenerated.
  1753. * generated/pow_r4_i4.c: Regenerated.
  1754. * generated/pow_r4_i8.c: Regenerated.
  1755. * generated/pow_r8_i16.c: Regenerated.
  1756. * generated/pow_r8_i4.c: Regenerated.
  1757. * generated/pow_r8_i8.c: Regenerated.
  1758. 2007-03-03 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1759. PR libfortran/31001
  1760. * intrinsics/pack_generic.c (pack_internal): Add special checks
  1761. for zero-sized arrays.
  1762. 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
  1763. * Makefile.am: Add dummy install-pdf target.
  1764. * Makefile.in: Regenerate
  1765. 2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1766. PR libfortran/30918
  1767. * io/listread.c (namelist_read): Eat comment line.
  1768. 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  1769. PR libfortran/30910
  1770. * io/write.c (output_float): Add condition of format F only for
  1771. special case rounding with zero precision.
  1772. 2007-02-19 Thomas Koenig <Thomas.Koenig@online.de>
  1773. PR libfortran/30533
  1774. PR libfortran/30765
  1775. * Makefile.am: Add $(srcdir) too all files in generated/.
  1776. (i_maxloc0_c): Add maxloc0_4_i1.c, maxloc0_8_i1.c,
  1777. maxloc0_16_i1.c, maxloc0_4_i2.c, maxloc0_8_i2.c and
  1778. maxloc0_16_i2.c.
  1779. (i_maxloc1_c): Add maxloc1_4_i1.c, maxloc1_8_i1.c,
  1780. maxloc1_16_i1.c, maxloc1_4_i2.c, maxloc1_8_i2.c and
  1781. maxloc1_16_i2.c.
  1782. (i_maxval_c): Add maxval_i1.c and maxval_i2.c.
  1783. (i_minloc0_c): Add minloc0_4_i1.c, minloc0_8_i1.c,
  1784. minloc0_16_i1.c, minloc0_4_i2.c, minloc0_8_i2.c and
  1785. minloc0_16_i2.c.
  1786. (i_minloc_1.c): Add minloc1_4_i1.c, minloc1_8_i1.c,
  1787. minloc1_16_i1.c, minloc1_4_i2.c, minloc1_8_i2.c and
  1788. minloc1_16_i2.c.
  1789. (i_minval_c): Add minval_i1.c and minval_i2.c.
  1790. (i_sum_c): Add sum_i1.c and sum_i2.c.
  1791. (i_product_c): Add product_i1.c and product_i2.c.
  1792. (i_matmul_c): Add matmul_i1.c and matmul_i2.c.
  1793. (gfor_built_specific_src): Remove $(srcdir) from target.
  1794. (gfor_bulit_specific2_src): Likewise.
  1795. Makefile.in: Regenerated.
  1796. libgfortran.h: Add GFC_INTEGER_1_HUGE and GFC_INTEGER_2_HUGE.
  1797. Add gfc_array_i1 and gfc_array_i2.
  1798. * generated/matmul_i1.c: New file.
  1799. * generated/matmul_i2.c: New file.
  1800. * generated/maxloc0_16_i1.c: New file.
  1801. * generated/maxloc0_16_i2.c: New file.
  1802. * generated/maxloc0_4_i1.c: New file.
  1803. * generated/maxloc0_4_i2.c: New file.
  1804. * generated/maxloc0_8_i1.c: New file.
  1805. * generated/maxloc0_8_i2.c: New file.
  1806. * generated/maxloc1_16_i1.c: New file.
  1807. * generated/maxloc1_16_i2.c: New file.
  1808. * generated/maxloc1_4_i1.c: New file.
  1809. * generated/maxloc1_4_i2.c: New file.
  1810. * generated/maxloc1_8_i1.c: New file.
  1811. * generated/maxloc1_8_i2.c: New file.
  1812. * generated/maxval_i1.c: New file.
  1813. * generated/maxval_i2.c: New file.
  1814. * generated/minloc0_16_i1.c: New file.
  1815. * generated/minloc0_16_i2.c: New file.
  1816. * generated/minloc0_4_i1.c: New file.
  1817. * generated/minloc0_4_i2.c: New file.
  1818. * generated/minloc0_8_i1.c: New file.
  1819. * generated/minloc0_8_i2.c: New file.
  1820. * generated/minloc1_16_i1.c: New file.
  1821. * generated/minloc1_16_i2.c: New file.
  1822. * generated/minloc1_4_i1.c: New file.
  1823. * generated/minloc1_4_i2.c: New file.
  1824. * generated/minloc1_8_i1.c: New file.
  1825. * generated/minloc1_8_i2.c: New file.
  1826. * generated/minval_i1.c: New file.
  1827. * generated/minval_i2.c: New file.
  1828. * generated/product_i1.c: New file.
  1829. * generated/product_i2.c: New file.
  1830. * generated/sum_i1.c: New file.
  1831. * generated/sum_i2.c: New file.
  1832. 2007-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1833. * runtime/memory.c (deallocate): Correct comment.
  1834. 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
  1835. * Makefile.am: Use $(M4) instead of m4.
  1836. * Makefile.in: Regenerate.
  1837. 2007-02-10 Thomas Koenig <Thomas.Koenig@online.de>
  1838. * Makefile.am: Remove $(srcdir) from assorted targets
  1839. in maintainer mode.
  1840. * Makefile.in: Regenerate.
  1841. 2007-02-09 Thomas Koenig <Thomas.Koenig@online.de>
  1842. Tobias Burnus <burnus@net-b.de>
  1843. PR fortran/30512
  1844. * m4/iparm.m4: Use HUGE-1 for most negative integer.
  1845. * generated/maxloc1_8_i4.c: Regenerate.
  1846. * generated/maxloc0_8_i8.c: Regenerate.
  1847. * generated/maxloc1_16_i4.c: Regenerate.
  1848. * generated/maxloc0_16_i8.c: Regenerate.
  1849. * generated/maxval_i4.c: Regenerate.
  1850. * generated/maxloc1_4_i8.c: Regenerate.
  1851. * generated/maxloc0_16_i16.c: Regenerate.
  1852. * generated/maxloc1_4_i16.c: Regenerate.
  1853. * generated/maxloc0_8_i16.c: Regenerate.
  1854. * generated/maxloc0_4_i4.c: Regenerate.
  1855. * generated/maxloc1_8_i8.c: Regenerate.
  1856. * generated/maxloc0_8_i4.c: Regenerate.
  1857. * generated/maxloc0_16_i4.c: Regenerate.
  1858. * generated/maxloc1_16_i8.c: Regenerate.
  1859. * generated/maxloc1_4_i4.c: Regenerate.
  1860. * generated/maxval_i8.c: Regenerate.
  1861. * generated/maxloc0_4_i16.c: Regenerate.
  1862. * generated/maxloc1_8_i16.c: Regenerate.
  1863. * generated/maxloc0_4_i8.c: Regenerate.
  1864. * generated/maxloc1_16_i16.c: Regenerate.
  1865. * generated/maxval_i16.c: Regenerate.
  1866. 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1867. PR fortran/30611
  1868. * intrinsics/string_intrinsics.c (string_repeat): Don't check
  1869. if ncopies is negative.
  1870. 2007-02-04 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1871. PR libfortran/30007
  1872. * libgfortran.h: Do not prefix symbol name with
  1873. __USER_LABEL_PREFIX__ when used in __attribute__((__alias__(...))).
  1874. 2007-02-02 Paul Thomas <pault@gcc.gnu.org>
  1875. PR fortran/30284
  1876. PR fortran/30626
  1877. * io/transfer.c (init_loop_spec, next_array_record): Change to
  1878. lbound rather than unity base.
  1879. 2007-01-21 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1880. * runtime/error.c: Include sys/time.h before sys/resource.h.
  1881. 2007-01-21 Thomas Koenig <Thomas.Koenig@online.de>
  1882. PR libfortran/30525
  1883. * intrinsics/string_intrinsics.c(compare_string): Make
  1884. sure that comparisons are done unsigned.
  1885. 2007-01-21 Tobias Burnus <burnus@net-b.de>
  1886. PR libfortran/30015
  1887. * intrinsics/date_and_time.c (date_and_time): Fix case where time
  1888. can go backwards.
  1889. * configure.ac: Remove AC_TRY_RUN test for timezone in
  1890. gettimeofday.
  1891. * acinclude.m4: Ditto.
  1892. * configure: Regenerate.
  1893. * config.h.in: Regenerate.
  1894. 2007-01-20 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  1895. * m4/misc_specifics.m4: Add _gfortran prefix to specific names.
  1896. * m4/specific2.m4: Likewise.
  1897. * m4/specific.m4: Likewise.
  1898. * intrinsics/f2c_specifics.F90: Likewise.
  1899. * intrinsics/selected_int_kind.f90: Add _gfortran prefix.
  1900. * intrinsics/selected_real_kind.f90: Likewise.
  1901. * intrinsics/dprod_r8.f90: Likewise.
  1902. * Makefile.am: Add -fallow-leading-underscore to the
  1903. gfor_specific_src files, as well as selected_real_kind.F90
  1904. and selected_int_kind.F90
  1905. * Makefile.in: Regenerate.
  1906. * generated/_sqrt_c8.F90: Regenerate.
  1907. * generated/_sign_r16.F90: Regenerate.
  1908. * generated/_log_c16.F90: Regenerate.
  1909. * generated/_sin_c10.F90: Regenerate.
  1910. * generated/_tanh_r4.F90: Regenerate.
  1911. * generated/_tanh_r8.F90: Regenerate.
  1912. * generated/_log10_r10.F90: Regenerate.
  1913. * generated/_aimag_c4.F90: Regenerate.
  1914. * generated/_sign_r4.F90: Regenerate.
  1915. * generated/_aimag_c8.F90: Regenerate.
  1916. * generated/_sign_r8.F90: Regenerate.
  1917. * generated/_mod_i4.F90: Regenerate.
  1918. * generated/_cos_r16.F90: Regenerate.
  1919. * generated/_aint_r10.F90: Regenerate.
  1920. * generated/_mod_i8.F90: Regenerate.
  1921. * generated/_abs_i16.F90: Regenerate.
  1922. * generated/_sqrt_c10.F90: Regenerate.
  1923. * generated/_atan2_r4.F90: Regenerate.
  1924. * generated/_cos_c4.F90: Regenerate.
  1925. * generated/_atan_r16.F90: Regenerate.
  1926. * generated/_tanh_r10.F90: Regenerate.
  1927. * generated/_atan2_r8.F90: Regenerate.
  1928. * generated/_cos_c8.F90: Regenerate.
  1929. * generated/_exp_r4.F90: Regenerate.
  1930. * generated/_log_r10.F90: Regenerate.
  1931. * generated/_exp_r8.F90: Regenerate.
  1932. * generated/_abs_r4.F90: Regenerate.
  1933. * generated/_abs_r8.F90: Regenerate.
  1934. * generated/_sin_r16.F90: Regenerate.
  1935. * generated/_tan_r4.F90: Regenerate.
  1936. * generated/_tan_r8.F90: Regenerate.
  1937. * generated/_sign_i4.F90: Regenerate.
  1938. * generated/_sign_i8.F90: Regenerate.
  1939. * generated/_exp_c16.F90: Regenerate.
  1940. * generated/_sqrt_r16.F90: Regenerate.
  1941. * generated/_conjg_c4.F90: Regenerate.
  1942. * generated/_conjg_c8.F90: Regenerate.
  1943. * generated/_dim_r16.F90: Regenerate.
  1944. * generated/_mod_r10.F90: Regenerate.
  1945. * generated/_abs_c10.F90: Regenerate.
  1946. * generated/_conjg_c16.F90: Regenerate.
  1947. * generated/_tan_r16.F90: Regenerate.
  1948. * generated/_asinh_r10.F90: Regenerate.
  1949. * generated/_abs_i4.F90: Regenerate.
  1950. * generated/_abs_i8.F90: Regenerate.
  1951. * generated/_acos_r10.F90: Regenerate.
  1952. * generated/_exp_r10.F90: Regenerate.
  1953. * generated/_acosh_r16.F90: Regenerate.
  1954. * generated/_atan2_r16.F90: Regenerate.
  1955. * generated/_cos_c16.F90: Regenerate.
  1956. * generated/_mod_i16.F90: Regenerate.
  1957. * generated/_asin_r4.F90: Regenerate.
  1958. * generated/_anint_r16.F90: Regenerate.
  1959. * generated/_asin_r8.F90: Regenerate.
  1960. * generated/_aimag_c10.F90: Regenerate.
  1961. * generated/_exp_c4.F90: Regenerate.
  1962. * generated/_sinh_r10.F90: Regenerate.
  1963. * generated/_exp_c8.F90: Regenerate.
  1964. * generated/_log10_r4.F90: Regenerate.
  1965. * generated/_log10_r8.F90: Regenerate.
  1966. * generated/_abs_c4.F90: Regenerate.
  1967. * generated/_abs_r16.F90: Regenerate.
  1968. * generated/_abs_c8.F90: Regenerate.
  1969. * generated/_asin_r10.F90: Regenerate.
  1970. * generated/_sign_r10.F90: Regenerate.
  1971. * generated/_atanh_r16.F90: Regenerate.
  1972. * generated/_log_c10.F90: Regenerate.
  1973. * generated/_cosh_r16.F90: Regenerate.
  1974. * generated/_sin_c16.F90: Regenerate.
  1975. * generated/_cos_r10.F90: Regenerate.
  1976. * generated/_log10_r16.F90: Regenerate.
  1977. * generated/_aint_r16.F90: Regenerate.
  1978. * generated/_acos_r4.F90: Regenerate.
  1979. * generated/_acos_r8.F90: Regenerate.
  1980. * generated/_sqrt_c16.F90: Regenerate.
  1981. * generated/_acosh_r4.F90: Regenerate.
  1982. * generated/_atan_r10.F90: Regenerate.
  1983. * generated/_acosh_r8.F90: Regenerate.
  1984. * generated/_sign_i16.F90: Regenerate.
  1985. * generated/_tanh_r16.F90: Regenerate.
  1986. * generated/_log_r4.F90: Regenerate.
  1987. * generated/_log_r8.F90: Regenerate.
  1988. * generated/_sin_r4.F90: Regenerate.
  1989. * generated/_sin_r8.F90: Regenerate.
  1990. * generated/_log_r16.F90: Regenerate.
  1991. * generated/_sin_r10.F90: Regenerate.
  1992. * generated/_sqrt_r4.F90: Regenerate.
  1993. * generated/_exp_c10.F90: Regenerate.
  1994. * generated/_sqrt_r8.F90: Regenerate.
  1995. * generated/_asinh_r4.F90: Regenerate.
  1996. * generated/_sqrt_r10.F90: Regenerate.
  1997. * generated/_asinh_r8.F90: Regenerate.
  1998. * generated/_dim_r4.F90: Regenerate.
  1999. * generated/_dim_r8.F90: Regenerate.
  2000. * generated/_dim_r10.F90: Regenerate.
  2001. * generated/_cosh_r4.F90: Regenerate.
  2002. * generated/_conjg_c10.F90: Regenerate.
  2003. * generated/_tan_r10.F90: Regenerate.
  2004. * generated/_cosh_r8.F90: Regenerate.
  2005. * generated/_mod_r16.F90: Regenerate.
  2006. * generated/_abs_c16.F90: Regenerate.
  2007. * generated/_cos_r4.F90: Regenerate.
  2008. * generated/_asinh_r16.F90: Regenerate.
  2009. * generated/_cos_r8.F90: Regenerate.
  2010. * generated/_atanh_r4.F90: Regenerate.
  2011. * generated/_atanh_r8.F90: Regenerate.
  2012. * generated/_acos_r16.F90: Regenerate.
  2013. * generated/_anint_r4.F90: Regenerate.
  2014. * generated/_acosh_r10.F90: Regenerate.
  2015. * generated/_anint_r8.F90: Regenerate.
  2016. * generated/_exp_r16.F90: Regenerate.
  2017. * generated/_mod_r4.F90: Regenerate.
  2018. * generated/_cos_c10.F90: Regenerate.
  2019. * generated/_atan2_r10.F90: Regenerate.
  2020. * generated/_dim_i16.F90: Regenerate.
  2021. * generated/_mod_r8.F90: Regenerate.
  2022. * generated/_anint_r10.F90: Regenerate.
  2023. * generated/_aint_r4.F90: Regenerate.
  2024. * generated/_aint_r8.F90: Regenerate.
  2025. * generated/_dim_i4.F90: Regenerate.
  2026. * generated/_sinh_r4.F90: Regenerate.
  2027. * generated/_log_c4.F90: Regenerate.
  2028. * generated/_dim_i8.F90: Regenerate.
  2029. * generated/_sinh_r8.F90: Regenerate.
  2030. * generated/_log_c8.F90: Regenerate.
  2031. * generated/_sin_c4.F90: Regenerate.
  2032. * generated/_sin_c8.F90: Regenerate.
  2033. * generated/misc_specifics.F90: Regenerate.
  2034. * generated/_abs_r10.F90: Regenerate.
  2035. * generated/_aimag_c16.F90: Regenerate.
  2036. * generated/_atan_r4.F90: Regenerate.
  2037. * generated/_sinh_r16.F90: Regenerate.
  2038. * generated/_atan_r8.F90: Regenerate.
  2039. * generated/_atanh_r10.F90: Regenerate.
  2040. * generated/_cosh_r10.F90: Regenerate.
  2041. * generated/_sqrt_c4.F90: Regenerate.
  2042. * generated/_asin_r16.F90: Regenerate.
  2043. 2007-01-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2044. PR libfortran/26893
  2045. * acinclude.m4 (LIBGFOR_WORKING_GFORTRAN): New check.
  2046. * configure.ac: Add call to LIBGFOR_WORKING_GFORTRAN.
  2047. * configure: Regenerate.
  2048. * config.h.in: Regenerate because it was forgottent in the last
  2049. commit.
  2050. 2007-01-18 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2051. Tobias Burnus <burnus@net-b.de>
  2052. PR libfortran/29649
  2053. * runtime/environ.c (variable_table): New GFORTRAN_ERROR_DUMPCORE
  2054. environment variable.
  2055. * runtime/compile_options.c (set_std): Add new argument.
  2056. * runtime/error.c (sys_exit): Move from io/unix.c. Add coredump
  2057. functionality.
  2058. * libgfortran.h (options_t): New dump_core and backtrace members.
  2059. (sys_exit): Move prototype.
  2060. * io/unix.c (sys_exit): Move to runtime/error.c.
  2061. * configure.ac: Add check for getrlimit.
  2062. * configure: Regenerate.
  2063. 2007-01-17 Tom Tromey <tromey@redhat.com>
  2064. PR libfortran/27107:
  2065. * aclocal.m4, configure, Makefile.in: Rebuilt.
  2066. * configure.ac: Enable automake dependency tracking. Update
  2067. minimum automake version.
  2068. 2007-01-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
  2069. PR libfortran/27107
  2070. * runtime/environ.c: Don't include io/io.h.
  2071. * runtime/string.c: Don't include io/io.h.
  2072. (compare0): Add cast to avoid warning.
  2073. * runtime/error.c: Don't include io/io.h.
  2074. (st_printf): Move to io/unix.c.
  2075. * intrinsics/flush.c: Delete, contents moved to io/intrinsics.c.
  2076. * intrinsics/fget.c: Likewise.
  2077. * intrinsics/ftell.c: Likewise.
  2078. * intrinsics/tty.c: Likewise.
  2079. * libgfortran.h (DEFAULT_RECL, notification_std,
  2080. get_unformatted_convert, IOPARM_*, st_parameter_common, unit_convert,
  2081. DEFAULT_TEMPDIR): New declarations.
  2082. * io/io.h (DEFAULT_RECL, notification_std, get_unformatted_convert,
  2083. IOPARM_*, st_parameter_common, unit_convert, DEFAULT_TEMPDIR):
  2084. Move to libgfortran.h.
  2085. * io/unix.c: Add io/unix.h content.
  2086. (st_printf): New function.
  2087. * io/intrinsics.c: New file.
  2088. * io/unix.h: Remove, contents moved into unix.c.
  2089. * libtool-version: Update library version to 3.0.0.
  2090. * configure.ac: Update library version to 0.3.
  2091. * Makefile.am (intrinsics/fget.c, intrinsics/flush.c,
  2092. intrinsics/ftell.c, intrinsics/tty.c, libgfortran.h): Remove targets.
  2093. * Makefile.in: Regenerate.
  2094. * configure: Regenerate.
  2095. 2007-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  2096. PR libfortran/30435
  2097. * io/list_read.c (finish_separator): Don't call next_record.
  2098. (list_formatted_read_scalar): Clean up some comments and whitespace.
  2099. (nml_read_obj): Whitespace fix.
  2100. 2007-01-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  2101. PR libfortran/30162
  2102. * io/unix.c (fd_flush): Don't seek if file is not seekable, defined as
  2103. s->file_length == -1.
  2104. (fd_alloc_w_at): Do not adjust file_length if file is not seekable.
  2105. (fd_seek): If not seekable, just return success.
  2106. (fd_truncate): If not seekable, no need to truncate. Return failure
  2107. if seek fails and the stream is not a pipe.
  2108. (fd_to_stream): Make test for non-seekable file more robust.
  2109. 2007-01-01 Steven G. Kargl <kargls@comcast.net>
  2110. * ChangeLog: Copied to ...
  2111. * ChangeLog-2006: here.
  2112. Copyright (C) 2007 Free Software Foundation, Inc.
  2113. Copying and distribution of this file, with or without modification,
  2114. are permitted in any medium without royalty provided the copyright
  2115. notice and this notice are preserved.