ChangeLog-2020 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
  2. PR target/97865
  3. * configure: Regenerate.
  4. 2020-11-29 John David Anglin <danglin@gcc.gnu.org>
  5. * configure: Regenerate.
  6. 2020-11-26 Maciej W. Rozycki <macro@linux-mips.org>
  7. * io/io.h [HAVE_NEWLOCALE]: Also check for HAVE_FREELOCALE and
  8. HAVE_USELOCALE.
  9. [HAVE_FREELOCALE && HAVE_NEWLOCALE && HAVE_USELOCALE]
  10. (HAVE_POSIX_2008_LOCALE): New macro.
  11. (st_parameter_dt) [HAVE_NEWLOCALE]: Check for
  12. HAVE_POSIX_2008_LOCALE instead.
  13. * io/transfer.c (data_transfer_init_worker, finalize_transfer)
  14. [HAVE_USELOCALE]: Check for HAVE_POSIX_2008_LOCALE instead.
  15. * io/unit.c [HAVE_NEWLOCALE]: Likewise.
  16. (init_units) [HAVE_NEWLOCALE]: Likewise.
  17. (close_units) [HAVE_FREELOCALE]: Likewise.
  18. * runtime/error.c (gf_strerror) [HAVE_USELOCALE]: Likewise.
  19. 2020-11-26 Maciej W. Rozycki <macro@linux-mips.org>
  20. * libgfortran.h: Use #if rather than #ifdef with
  21. __FLT_HAS_INFINITY__, __DBL_HAS_INFINITY__,
  22. __LDBL_HAS_INFINITY__, __FLT_HAS_QUIET_NAN__,
  23. __DBL_HAS_QUIET_NAN__, and __LDBL_HAS_QUIET_NAN__.
  24. 2020-11-21 Iain Sandoe <iain@sandoe.co.uk>
  25. * intrinsics/execute_command_line.c (environ): Use
  26. _NSGetEnviron to get the environment pointer on Darwin.
  27. 2020-10-30 Harald Anlauf <anlauf@gmx.de>
  28. * intrinsics/random.c (SZ_IN_INT_4): Define size of state in int32_t.
  29. (SZ_IN_INT_8): Define size of state in int64_t.
  30. (SZ): Remove.
  31. (random_seed_i4): Use size SZ_IN_INT_4 instead of SZ.
  32. (random_seed_i8): Use size SZ_IN_INT_8 instead of SZ.
  33. 2020-10-18 Harald Anlauf <anlauf@gmx.de>
  34. * m4/matmul_internal.m4: Move check for rank-1 times rank-2 before
  35. checks on strides for rank-2 times rank-2.
  36. * generated/matmul_c10.c: Regenerated.
  37. * generated/matmul_c16.c: Likewise.
  38. * generated/matmul_c4.c: Likewise.
  39. * generated/matmul_c8.c: Likewise.
  40. * generated/matmul_i1.c: Likewise.
  41. * generated/matmul_i16.c: Likewise.
  42. * generated/matmul_i2.c: Likewise.
  43. * generated/matmul_i4.c: Likewise.
  44. * generated/matmul_i8.c: Likewise.
  45. * generated/matmul_r10.c: Likewise.
  46. * generated/matmul_r16.c: Likewise.
  47. * generated/matmul_r4.c: Likewise.
  48. * generated/matmul_r8.c: Likewise.
  49. * generated/matmulavx128_c10.c: Likewise.
  50. * generated/matmulavx128_c16.c: Likewise.
  51. * generated/matmulavx128_c4.c: Likewise.
  52. * generated/matmulavx128_c8.c: Likewise.
  53. * generated/matmulavx128_i1.c: Likewise.
  54. * generated/matmulavx128_i16.c: Likewise.
  55. * generated/matmulavx128_i2.c: Likewise.
  56. * generated/matmulavx128_i4.c: Likewise.
  57. * generated/matmulavx128_i8.c: Likewise.
  58. * generated/matmulavx128_r10.c: Likewise.
  59. * generated/matmulavx128_r16.c: Likewise.
  60. * generated/matmulavx128_r4.c: Likewise.
  61. * generated/matmulavx128_r8.c: Likewise.
  62. 2020-09-28 Tobias Burnus <tobias@codesourcery.com>
  63. * m4/unpack.m4 (unpack0_'rtype_code`,
  64. unpack1_'rtype_code`): Move 'rstride[0]' initialization outside
  65. conditional branch to silence -Wmaybe-uninitialized.
  66. * generated/unpack_c10.c: Regenerate.
  67. * generated/unpack_c16.c: Regenerate.
  68. * generated/unpack_c4.c: Regenerate.
  69. * generated/unpack_c8.c: Regenerate.
  70. * generated/unpack_i1.c: Regenerate.
  71. * generated/unpack_i16.c: Regenerate.
  72. * generated/unpack_i2.c: Regenerate.
  73. * generated/unpack_i4.c: Regenerate.
  74. * generated/unpack_i8.c: Regenerate.
  75. * generated/unpack_r10.c: Regenerate.
  76. * generated/unpack_r16.c: Regenerate.
  77. * generated/unpack_r4.c: Regenerate.
  78. * generated/unpack_r8.c: Regenerate.
  79. 2020-09-27 Clement Chigot <clement.chigot@atos.net>
  80. * config/t-aix: Use $(AR) without -X32_64.
  81. 2020-09-03 Harald Anlauf <anlauf@gmx.de>
  82. * m4/iall.m4: Initial value for result should be -1.
  83. * generated/iall_i1.c (miall_i1): Generated.
  84. * generated/iall_i16.c (miall_i16): Likewise.
  85. * generated/iall_i2.c (miall_i2): Likewise.
  86. * generated/iall_i4.c (miall_i4): Likewise.
  87. * generated/iall_i8.c (miall_i8): Likewise.
  88. 2020-08-24 Mark Eggleston <markeggleston@gcc.gnu.org>
  89. PR fortran/96486
  90. * intrinsics/env.c: If value_len is > 0 blank the string.
  91. Copy the result only if its length is > 0.
  92. 2020-08-20 Mark Eggleston <markeggleston@gcc.gnu.org>
  93. PR fortran/96436
  94. * io/format.c (parse_format_list): Add new local variable
  95. "standard" to hold the required standard to check. If the
  96. format width is zero select standard depending on descriptor.
  97. Call notification_std using the new standard variable.
  98. 2020-08-17 David Edelsohn <dje.gcc@gmail.com>
  99. Clement Chigot <clement.chigot@atos.net>
  100. * config/t-aix: Add complementary mode object file to libcaf_single.a.
  101. 2020-08-03 Tobias Burnus <tobias@codesourcery.com>
  102. * caf/single.c (_gfortran_caf_lock): Fix typo.
  103. 2020-07-26 Tobias Burnus <tobias@codesourcery.com>
  104. PR target/96306
  105. * configure.ac: Add LIBGOMP_CHECKED_INT_KINDS and
  106. LIBGOMP_CHECKED_REAL_KINDS and use it for to skip
  107. integer kind=16 checks for amdgcn.
  108. * Makefile.am (kinds.h, selected_int_kind.inc,
  109. selected_real_kind.inc): Pass them on.
  110. * mk-kinds-h.sh: Takes to-be-check kinds as argument.
  111. * mk-sik-inc.sh: Likewise.
  112. * mk-srk-inc.sh: Likewise.
  113. * Makefile.in: Regenerate.
  114. * configure: Regenerate.
  115. 2020-07-24 Dominique d'Humieres <dhumieres.dominique@free.fr>
  116. PR fortran/93567
  117. * io/write_float.def (determine_en_precision): Fix switch between
  118. FMT_E and FMT_F.
  119. 2020-07-24 Dominique d'Humieres <dhumieres.dominique@free.fr>
  120. PR fortran/93592
  121. * io/write_float.def (build_float_string): Do not reset
  122. nbefore for FMT_F and FMT_EN.
  123. 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
  124. * config/t-aix: Set BITS from compiler cpp macro.
  125. 2020-06-22 David Edelsohn <dje.gcc@gmail.com>
  126. * Makefile.am: Use -include.
  127. * Makefile.in: Regenerate.
  128. 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
  129. * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
  130. * Makefile.in: Regenerate.
  131. * configure.ac (tmake_file): Substitute.
  132. * configure: Regenerate.
  133. * configure.host: Add system configury stanza. Define tmake_file.
  134. * config/t-aix: New file.
  135. 2020-06-13 Thomas Koenig <tkoenig@gcc.gnu.org>
  136. PR libfortran/95313
  137. * io/write.c (ztoa_big): Disable -Wstringop-overflow for one
  138. line.
  139. 2020-06-08 Harald Anlauf <anlauf@gmx.de>
  140. PR fortran/95091
  141. * io/transfer.c (finalize_transfer): Fix type in error message.
  142. 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
  143. PR libfortran/95418
  144. * config/fpu-387.h (struct fenv): Add __attribute__ ((gcc_struct)).
  145. 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
  146. PR bootstrap/95413
  147. * configure: Regenerated.
  148. 2020-05-29 Jakub Jelinek <jakub@redhat.com>
  149. PR libfortran/95390
  150. * Makefile.am (i_findloc0_c): Add findloc0_i10.c.
  151. (i_findloc1_c): Add findloc1_i10.c.
  152. * gfortran.map (GFORTRAN_10.2): New symbol version, export
  153. _gfortran_{,m,s}findloc{0,1}_c10 symbols.
  154. * Makefile.in: Regenerated.
  155. * generated/findloc0_c10.c: Generated.
  156. * generated/findloc1_c10.c: Generated.
  157. 2020-05-28 Harald Anlauf <anlauf@gmx.de>
  158. PR libfortran/95104
  159. * io/unit.c (unlock_unit): Guard by check for NULL pointer.
  160. 2020-05-26 Harald Anlauf <anlauf@gmx.de>
  161. Steven G. Kargl <kargl@gcc.gnu.org>
  162. PR libfortran/95104
  163. * io/transfer.c (st_wait_async): Do not dereference NULL pointer.
  164. 2020-05-26 Harald Anlauf <anlauf@gmx.de>
  165. PR fortran/95195
  166. * io/transfer.c (finalize_transfer): Generate runtime error for
  167. namelist input/output to unformatted file.
  168. 2020-05-23 Thomas Koenig <tkoenig@gcc.gnu.org>
  169. PR libfortran/95191
  170. * io/async.c (async_wait_id): Generate error if ID is higher
  171. than the highest current ID.
  172. * runtime/error.c (translate_error): Handle LIBERROR_BAD_WAIT_ID.
  173. 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
  174. * m4/matmul.m4: Don't include <config/i386/cpuinfo.h>. Use
  175. __builtin_cpu_is/__builtin_cpu_supports
  176. * generated/matmul_c10.c: Regenerated.
  177. * generated/matmul_c16.c: Likewise.
  178. * generated/matmul_c4.c: Likewise.
  179. * generated/matmul_c8.c: Likewise.
  180. * generated/matmul_i1.c: Likewise.
  181. * generated/matmul_i16.c: Likewise.
  182. * generated/matmul_i2.c: Likewise.
  183. * generated/matmul_i4.c: Likewise.
  184. * generated/matmul_i8.c: Likewise.
  185. * generated/matmul_r10.c: Likewise.
  186. * generated/matmul_r16.c: Likewise.
  187. * generated/matmul_r4.c: Likewise.
  188. * generated/matmul_r8.c: Likewise.
  189. 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
  190. PR bootstrap/95147
  191. * configure: Regenerated.
  192. 2020-05-14 Thomas Koenig <tkoenig@gcc.gnu.org>
  193. PR libfortran/95119
  194. * io/close.c (close_status): Add CLOSE_INVALID.
  195. (st_close): Return early on invalid STATUS parameter.
  196. 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
  197. * configure: Regenerated.
  198. 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
  199. * config/fpu-387.h (__math_force_eval): Remove.
  200. (__math_force_eval_div): New define.
  201. (local_feraiseexcept): Use __math_force_eval_div to use
  202. generic division to generate INVALID, DIVZERO and INEXACT
  203. exceptions.
  204. (struct fenv): Define named struct instead of typedef.
  205. 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
  206. * config/fpu-387.h (__math_force_eval): New define.
  207. (local_feraiseexcept): Use __math_force_eval to evaluate
  208. generic division to generate INVALID and DIVZERO exceptions.
  209. 2020-04-22 Fritz Reese <foreese@gcc.gnu.org>
  210. * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
  211. Guard against unavailable math functions.
  212. Use suffixes from kinds.h based on the REAL kind.
  213. 2020-04-22 Jakub Jelinek <jakub@redhat.com>
  214. PR libfortran/94694
  215. PR libfortran/94586
  216. * configure.ac: Add math func checks for fmaf, fma and fmal. Add
  217. HAVE_INLINE_BUILTIN_COPYSIGN check.
  218. * c99_protos.h (copysign, fmaf, fma, fmal): Provide fallback
  219. prototypes.
  220. (HAVE_COPYSIGN, HAVE_FMAF, HAVE_FMA, HAVE_FMAL): Define if not
  221. defined and fallback version is provided.
  222. * intrinsics/c99_functions.c (copysign, fmaf, fma, fmal): Provide
  223. fallback implementations if possible
  224. * configure: Regenerated.
  225. * config.h.in: Regenerated.
  226. 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
  227. * config/fpu-387.h (local_feraiseexcept) [__SSE_MATH__]:
  228. Remove unneeded assignments to volatile memory.
  229. 2020-04-01 Fritz Reese <foreese@gcc.gnu.org>
  230. Steven G. Kargl <kargl@gcc.gnu.org>
  231. PR fortran/93871
  232. * Makefile.am, Makefile.in: New make rule for intrinsics/trigd.c.
  233. * gfortran.map: New routines for {sind, cosd, tand}X{r4, r8, r10, r16}.
  234. * intrinsics/trigd.c, intrinsics/trigd_lib.inc, intrinsics/trigd.inc:
  235. New files. Defines native degree-valued trig functions.
  236. 2020-02-18 Thomas Koenig <tkoenig@gcc.gnu.org>
  237. PR fortran/93599
  238. * io/async.c (destroy_adv_cond): Do not destroy lock.
  239. (async_io): Make sure au->lock is locked for finishing of thread.
  240. Do not lock/unlock around signalling emptysignal. Unlock au->lock
  241. before return.
  242. (init_adv_cond): Do not initialize lock.
  243. (enqueue_transfer): Unlock after signal.
  244. (enqueue_done_id): Likewise.
  245. (enqueue_done): Likewise.
  246. (enqueue_close): Likewise.
  247. (enqueue_data_transfer): Likewise.
  248. (async_wait_id): Do not lock/unlock around signalling au->work.
  249. (async_wait): Unlock after signal.
  250. * io/async.h (SIGNAL): Add comment about needed au->lock.
  251. Remove locking/unlocking of advcond->lock.
  252. (WAIT_SIGNAL_MUTEX): Add comment. Remove locking/unlocking of
  253. advcond->lock. Unlock mutex only at the end. Loop on
  254. __ghread_cond_wait returning zero.
  255. (REVOKE_SIGNAL): Add comment. Remove locking/unlocking of
  256. advcond->lock.
  257. (struct adv_cond): Remove mutex from struct.
  258. 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
  259. PR libstdc++/79193
  260. PR libstdc++/88999
  261. * configure: Regenerated.
  262. 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
  263. * configure.ac: Handle `--with-toolexeclibdir='.
  264. * Makefile.in: Regenerate.
  265. * aclocal.m4: Regenerate.
  266. * configure: Regenerate.
  267. 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  268. PR libfortran/93234
  269. * io/unit.c (set_internal_unit): Set round and sign flags
  270. correctly.
  271. 2020-01-17 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  272. PR libfortran/90374
  273. * io/format.c (parse_format_list): Zero width not allowed with
  274. FMT_D.
  275. * io/write_float.def (build_float_string): Include range of
  276. higher exponent values that require wider width.
  277. 2020-01-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  278. PR libfortran/90374
  279. * io/format.c (parse_format_list): Implement the E0 exponent
  280. width to provide smallest possible width for exponent fields.
  281. Refactor code for correct parsing and better readability of the
  282. code.
  283. * io/io.h (write_real_w0): Change interface to pass in pointer
  284. to fnode.
  285. * io/transfer.c: Update all calls to write_real_w0 to use the
  286. new interface.
  287. * io/write.c ((write_real_w0): Use the new interface with fnode
  288. to access both the decimal precision and exponent widths used in
  289. build_float_string.
  290. * io/write_float.def (build_float_string): Use the passed in
  291. exponent width to calculate the used width in the case of E0.
  292. 2020-01-01 Jakub Jelinek <jakub@redhat.com>
  293. Update copyright years.
  294. Copyright (C) 2020 Free Software Foundation, Inc.
  295. Copying and distribution of this file, with or without modification,
  296. are permitted in any medium without royalty provided the copyright
  297. notice and this notice are preserved.