ChangeLog 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731
  1. 2015-07-16 Release Manager
  2. * GCC 5.2.0 released.
  3. 2015-04-22 Release Manager
  4. * GCC 5.1.0 released.
  5. 2015-01-26 Matthias Klose <doko@ubuntu.com>
  6. * configure.ac: Move AM_ENABLE_MULTILIB before AC_PROG_CC.
  7. * configure: Regenerate.
  8. 2015-01-05 Jakub Jelinek <jakub@redhat.com>
  9. * libquadmath.texi: Bump @copying's copyright year.
  10. 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
  11. PR bootstrap/63784
  12. * configure: Regenerated.
  13. 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  14. PR target/63610
  15. * configure: Regenerate.
  16. 2014-10-21 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  17. PR libquadmath/55821
  18. * Makefile.am: Unconditionally define libquadmath_TEXINFOS.
  19. * Makefile.in: Regenerate.
  20. 2014-10-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  21. PR libquadmath/55821
  22. * Makefile.am: Conditionally define info_TEXINFOS and
  23. libquadmath_TEXINFOS.
  24. * Makefile.in: Regenerate.
  25. 2014-10-08 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  26. PR libquadmath/63487
  27. * libquadmath.texi (sincosq): Fix typo.
  28. 2014-01-02 Tobias Burnus <burnus@net-b.de>
  29. * libquadmath.texi: Bump @copying's copyright year.
  30. 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
  31. * Makefile.am (AM_CPPFLAGS): Define.
  32. * Makefile.in: Regenerate.
  33. * printf/gmp-impl.h: Remove path from longlong.h include.
  34. 2013-09-20 Alan Modra <amodra@gmail.com>
  35. * configure: Regenerate.
  36. 2013-03-06 Shakthi Kannan <shakthimaan@gmail.com>
  37. PR libquadmath/55473
  38. * quadmath.h: Add 'extern "C"' block for C++ use.
  39. 2013-02-19 Jakub Jelinek <jakub@redhat.com>
  40. PR libquadmath/56379
  41. * strtod/strtod_l.c (mpn_lshift_1): Rewritten as function-like
  42. macro.
  43. 2013-02-17 Tobias Burnus <burnus@net-b.de>
  44. * math/cacoshq.c (cacoshq): Call signbitq instead of signbit.
  45. 2013-02-06 Richard Sandiford <rdsandiford@googlemail.com>
  46. Revert previous patch.
  47. 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
  48. Update copyright years.
  49. 2013-01-22 Jakub Jelinek <jakub@redhat.com>
  50. PR libquadmath/56072
  51. * libquadmath.texi (M_PI_2q, M_PI_4q): Fix up description.
  52. 2012-12-13 Jakub Jelinek <jakub@redhat.com>
  53. * math/cbrtq.c (cbrtq): Use Q suffixed floating point constants
  54. instead of L suffixed ones.
  55. * math/fmaq.c (fmaq): Likewise.
  56. * math/rintq.c (TWO112): Likewise.
  57. 2012-12-03 Tobias Burnus <burnus@net-b.de>
  58. * strtod/strtod_l.c (___STRTOF_INTERNAL): Fix exponent
  59. reading.
  60. 2012-11-25 Tobias Burnus <burnus@net-b.de>
  61. PR libquadmath/55462
  62. * strtod/strtod_l.c (round_and_return): Use HAVE_FENV_H
  63. instead of nonexisting HAVE_GET_ROUNDING_MODE.
  64. 2012-11-23 H.J. Lu <hongjiu.lu@intel.com>
  65. PR bootstrap/55455
  66. * quadmath-rounding-mode.h (get_rounding_mode): Don't pass
  67. void to fegetround.
  68. 2012-11-23 Tobias Burnus <burnus@net-b.de>
  69. Joseph Myers <joseph@codesourcery.com>
  70. * quadmath-rounding-mode.h: New.
  71. * printf/fpioconst.c: Update from GLIBC. Fix strtod rounding.
  72. * printf/fpioconst.h: Ditto.
  73. * printf/printf_fp.c (__quadmath_printf_fp): Update from GLIBC.
  74. Make printf respect the rounding mode for decimal output.
  75. * printf/printf_fphex.c (__quadmath_printf_fphex): Update from
  76. GLIBC. Make printf respect the rounding mode for hex output.
  77. * strtod/strtod_l.c: Update from GLIBC. Make strtod respect the
  78. rounding mode. Fix strtod handling of underflow.
  79. 2012-11-22 David S. Miller <davem@davemloft.net>
  80. Tobias Burnus <burnus@net-b.de>
  81. Joseph Myers <joseph@codesourcery.com>
  82. * math/atanq.c (atanq): Update from GLIBC. Handle tiny and
  83. very large arguments properly.
  84. * math/j0q.c (y0q): Update from GLIBC. Avoid arithmetic
  85. underflow when 'x' is very small.
  86. * math/j1q.c (y1q): Ditto.
  87. * math/log1pq.c (log1pq): Update from GLIBC. Saturate
  88. nonzero exponents with absolute value below 0x1p-128 to
  89. +/- 0x1p-128.
  90. * math/powq.c (powq): Update from GLIBC. If xm1 is
  91. smaller than LDBL_EPSILON/2.0L, just return xm1.
  92. 2012-11-21 Tobias Burnus <burnus@net-b.de>
  93. PR libquadmath/55225
  94. * math/lgammaq.c (lgammaq): Use local variable if
  95. math.h does not provide signgam.
  96. * acinclude.m4 (LIBQUAD_CHECK_MATH_H_SIGNGAM): New check.
  97. * configure.ac: Use it.
  98. * configure: Regenerate.
  99. * config.h.in: Regenerate.
  100. 2012-11-15 Tobias Burnus <burnus@net-b.de>
  101. Joseph Myers <joseph@codesourcery.com>
  102. * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma
  103. underflows with small x * y; Fix overflow results
  104. outside round-to-nearest mode; make use of Dekker
  105. and Knuth algorithms use round-to-nearest.
  106. 2012-11-01 Tobias Burnus <burnus@net-b.de>
  107. * math/fmaq.c (fmaq): Fix build.
  108. 2012-11-01 Tobias Burnus <burnus@net-b.de>
  109. Joseph Myers <joseph@codesourcery.com>
  110. * math/fmaq.c (fmaq): Merge from GLIBC. Handle cases
  111. with small x * y using scaling, not as x * y + z.
  112. * math/lgammaq.c (lgammaq): Fix signgam handling.
  113. 2012-11-01 Tobias Burnus <burnus@net-b.de>
  114. * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
  115. * Makefile.in: Regenerated.
  116. * math/acoshq.c: Update comment.
  117. * math/acosq.c: Ditto.
  118. * math/asinhq.c: Ditto.
  119. * math/asinq.c: Ditto.
  120. * math/atan2q.c: Ditto.
  121. * math/atanhq.c: Ditto.
  122. * math/ceilq.c: Ditto.
  123. * math/copysignq.c: Ditto.
  124. * math/cosq.c: Ditto.
  125. * math/coshq.c: Ditto.
  126. * math/erfq.c: Ditto.
  127. * math/fabsq.c: Ditto.
  128. * math/finiteq.c: Ditto.
  129. * math/floorq.c: Ditto.
  130. * math/fmodq.c: Ditto.
  131. * math/frexpq.c: Ditto.
  132. * math/isnanq.c: Ditto.
  133. * math/j0q.c: Ditto.
  134. * math/j1q.c: Ditto.
  135. * math/ldexpq.c: Ditto.
  136. * math/llroundq.c: Ditto.
  137. * math/log10q.c: Ditto.
  138. * math/log1pq.c: Ditto.
  139. * math/log2q.c: Ditto.
  140. * math/logq.c: Ditto.
  141. * math/lroundq.c: Ditto.
  142. * math/modfq.c: Ditto.
  143. * math/nextafterq.c: Ditto.
  144. * math/powq.c: Ditto.
  145. * math/rem_pio2q.c: Ditto.
  146. * math/remainderq.c: Ditto.
  147. * math/rintq.c: Ditto.
  148. * math/roundq.c: Ditto.
  149. * math/scalblnq.c: Ditto.
  150. * math/scalbnq.c: Ditto.
  151. * math/sincosq_kernel.c: Ditto.
  152. * math/sinq.c: Ditto.
  153. * math/tanq.c: Ditto.
  154. * math/expq.c: Ditto.
  155. (__expq_table, expq): Renamed local array from __expl_table.
  156. * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign handling.
  157. * math/cacoshq.c: Changes from GLIBC; fix returned sign.
  158. * math/casinhq.c: Changes from GLIBC to fix special-case.
  159. * math/cbrtq.c: Use modified GLIBC version.
  160. * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
  161. ctanhq, ctanq): Moved to separates files.
  162. (mult_c128, div_c128): Removed no longer needed functions.
  163. (cexpiq): Call sincosq instead of sinq and cosq.
  164. (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
  165. * math/ccoshq.c (ccoshq): New file, moved from complex.c and
  166. modified based on GLIBC.
  167. * math/cexpq.c (cexp): Ditto.
  168. * math/clog10q.c (clog10q): Ditto.
  169. * math/clogq.c (clogq): Ditto.
  170. * math/csinhq.c: Ditto.
  171. * math/csinq.c: Ditto.
  172. * math/csqrtq.c: Ditto.
  173. * math/ctanhq.c: Ditto.
  174. * math/ctanq.c: Ditto.
  175. * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
  176. from GLIBC.
  177. * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
  178. * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
  179. from GLIBC.
  180. * math/lgammaq.c (lgammaq): Add signgam handling.
  181. * math/sinhq.c (sinhq): Fix sign handling.
  182. * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
  183. * math/tgammaq.c (tgammaq): Ditto.
  184. * math/x2y2m1q.c: New file.
  185. * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
  186. (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
  187. 2012-10-31 Tobias Burnus <burnus@net-b.de>
  188. Joseph Myers <joseph@codesourcery.com>
  189. David S. Miller <davem@davemloft.net>
  190. Ulrich Drepper <drepper@redhat.com>
  191. Marek Polacek <polacek@redhat.com>:
  192. Petr Baudis <pasky@suse.cz>
  193. * math/complex.c (csqrtq): NaN and INF fixes.
  194. * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
  195. * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
  196. large parameters. Fix errno for boundary conditions.
  197. * math/finiteq.c (finiteq): Add comment.
  198. * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
  199. and bad results for some subnormal results. Fix sign of inexact
  200. zero return. Fix sign of exact zero return.
  201. Ensure additions are not scheduled after fetestexcept.
  202. * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
  203. for ynq. Fix jnq precision.
  204. * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
  205. manipulate bits before adding and subtracting TWO112[sx].
  206. * math/rintq.c (rintq): Ditto.
  207. * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
  208. overflow.
  209. 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
  210. * configure: Regenerated.
  211. 2012-05-29 Benjamin Kosnik <bkoz@redhat.com>
  212. PR libstdc++/51007
  213. * configure.ac: Allow gnu, gnu* variants for --enable-symvers argument.
  214. * configure: Regenerated.
  215. 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
  216. * configure: Regenerated.
  217. 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
  218. * configure: Regenerate.
  219. 2011-11-07 Kai Tietz <ktietz@redhat.com>
  220. PR target/51007
  221. * quadmath-imp.h (ieee854_float128): Adjust
  222. for ms-bitfield layout.
  223. 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  224. * printf/gmp-impl.h: Adapt path to longlong.h.
  225. 2011-09-21 Joseph Myers <joseph@codesourcery.com>
  226. * Makefile.am (FLAGS_TO_PASS): Define.
  227. * Makefile.in: Regenerate.
  228. 2011-08-01 Jakub Jelinek <jakub@redhat.com>
  229. * math/rem_pio2q.c (__quadmath_kernel_rem_pio2): Fix up fq to y
  230. conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
  231. 2011-04-03 Tobias Burnus <burnus@net-b.de>
  232. PR fortran/48311
  233. * libquadmath.texi (strtoflt128): Fix typo.
  234. (quadmath_snprintf): Move note up, make @item.
  235. 2011-03-25 Jakub Jelinek <jakub@redhat.com>
  236. * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
  237. mempcpy.
  238. 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  239. PR bootstrap/48135
  240. * configure.ac (quadmath_use_symver): Handle --disable-symvers.
  241. * configure: Regenerate.
  242. 2011-02-28 Jakub Jelinek <jakub@redhat.com>
  243. * printf/quadmath-printf.c (quadmath_snprintf): Make sure
  244. that for size > 0 str is always zero terminated.
  245. 2011-02-20 Jakub Jelinek <jakub@redhat.com>
  246. PR bootstrap/47827
  247. * printf/quadmath-printf.h (NAN): Redefine to __builtin_nanf ("").
  248. 2011-02-17 Jakub Jelinek <jakub@redhat.com>
  249. * libquadmath.texi (FLT128_DIG, FLT128_MIN_10_EXP,
  250. FLT128_MAX_10_EXP): Document.
  251. (strtoflt128): Remove obsolete comment.
  252. * configure.ac (HAVE_STRTOULL): New check.
  253. * printf/gmp-impl.h (mpn_construct_float128): New prototype,
  254. define.
  255. * printf/mul_n.c: Include <config.h>.
  256. * printf/add_n.c: Likewise.
  257. * printf/cmp.c: Likewise.
  258. * printf/fpioconst.c: Likewise.
  259. * printf/mul_1.c: Likewise.
  260. * printf/rshift.c: Likewise.
  261. * printf/lshift.c: Likewise.
  262. * printf/submul_1.c: Likewise.
  263. * printf/sub_n.c: Likewise.
  264. * printf/divrem.c: Likewise.
  265. * printf/addmul_1.c: Likewise.
  266. * printf/mul.c: Likewise.
  267. * printf/quadmath-printf.h (isupper, isdigit, tolower): Change
  268. to avoid evaluating argument multiple times.
  269. (isxdigit): Redefine.
  270. * strtod/strtoflt128.c: New file.
  271. * strtod/strtod_l.c: New file.
  272. * strtod/mpn2flt128.c: New file.
  273. * strtod/grouping.h: New file.
  274. * strtod/tens_in_limb.c: New file.
  275. * gdtoa/arith.h: Removed.
  276. * gdtoa/gd_qnan.h: Removed.
  277. * gdtoa/gdtoa_fltrnds.h: Removed.
  278. * gdtoa/gdtoa.h: Removed.
  279. * gdtoa/gdtoaimp.h: Removed.
  280. * gdtoa/gethex.c: Removed.
  281. * gdtoa/gmisc.c: Removed.
  282. * gdtoa/hd_init.c: Removed.
  283. * gdtoa/hexnan.c: Removed.
  284. * gdtoa/makefile: Removed.
  285. * gdtoa/misc.c: Removed.
  286. * gdtoa/README.gdtoa: Removed.
  287. * gdtoa/smisc.c: Removed.
  288. * gdtoa/strtodg.c: Removed.
  289. * gdtoa/strtopQ.c: Removed.
  290. * gdtoa/sum.c: Removed.
  291. * quadmath.h (FLT128_DIG, FLT128_MIN_10_EXP, FLT128_MAX_10_EXP):
  292. Define.
  293. * Makefile.am (libquadmath_la_SOURCES): Remove gdtoa/*, add
  294. strtod/strtoflt128.c, strtod/mpn2flt128.c and strtod/tens_in_limb.c.
  295. * config.h.in: Regenerated.
  296. * configure: Regenerated.
  297. * Makefile.in: Regenerated.
  298. 2011-02-16 Jakub Jelinek <jakub@redhat.com>
  299. * printf/quadmath-printf.c: Also check __GLIBC__ when checking
  300. whether workarounds for printf hook handling should be added.
  301. * configure.ac: Check for locale.h too.
  302. (USE_LOCALE_SUPPORT): Remove check.
  303. (USE_NL_LANGINFO, USE_NL_LANGINFO_WC, USE_LOCALECONV): New checks.
  304. (USE_I18_NUMBER_H): Check also for _NL_CTYPE_MB_CUR_MAX.
  305. * printf/printf_fphex.c (__quadmath_printf_fphex): Use nl_langinfo
  306. or localeconv for narrow version and nl_langinfo if USE_NL_LANGINFO_WC
  307. for wide version.
  308. * printf/quadmath-printf.h: Include locale.h if HAVE_LOCALE_H.
  309. * printf/printf_fp.c (USE_I18N_NUMBER_H): Don't define to 0.
  310. (__quadmath_printf_fp): Use nl_langinfo or localeconv for narrow
  311. version and nl_langinfo if USE_NL_LANGINFO_WC for wide version.
  312. Guard nl_langinfo (_NL_CTYPE_MB_CUR_MAX) use with
  313. USE_I18N_NUMBER_H #ifdef.
  314. * configure: Regenerated.
  315. * config.h.in: Regenerated.
  316. 2011-02-14 Jakub Jelinek <jakub@redhat.com>
  317. PR bootstrap/47736
  318. * configure.ac (HAVE_PRINTF_HOOKS): Test if printf_info struct has
  319. user field.
  320. * printf/quadmath-printf.c (quadmath_snprintf): Clear whole info
  321. field instead of setting individual fields to 0. Don't set info.user
  322. to -1.
  323. * configure: Regenerated.
  324. * configure.ac (HAVE_HIDDEN_VISIBILITY): Test with -Werror in CFLAGS.
  325. * printf/printf_fp.c: Don't include <alloca.h>.
  326. * printf/quadmath-printf.h (_itoa): Redefine to __quadmath_itoa.
  327. * configure: Regenerated.
  328. PR fortran/47642
  329. * libquadmath.texi (quadmath_snprintf): Document.
  330. (quadmath_flt128tostr): Remove.
  331. * Makefile.am (libquadmath_la_SOURCES): Add printf/*.c.
  332. Remove quadmath_io.c, gdtoa/gdtoa.c, gdtoa/g__fmt.c,
  333. gdtoa/g_Qfmt.c, gdtoa/dmisc.c and gdtoa/ulp.c.
  334. * quadmath.h (quadmath_snprintf): New prototype.
  335. (quadmath_flt128tostr): Remove.
  336. * quadmath_weak.h (quadmath_snprintf): Add.
  337. (quadmath_flt128tostr): Remove.
  338. * configure.ac: New AC_CHECK_HEADERS headers: langinfo.h, wchar.h,
  339. wctype.h, limits.h, ctype.h, printf.h, errno.h.
  340. (AC_USE_SYSTEM_EXTENSIONS): Add.
  341. (HAVE_HIDDEN_VISIBILITY, HAVE_PRINTF_HOOKS,
  342. USE_LOCALE_SUPPORT, USE_I18N_NUMBER_H): New checks.
  343. * quadmath.map (QUADMATH_1.0): Add quadmath_snprintf. Remove
  344. quadmath_flt128tostr.
  345. * printf/printf_fphex.c: New file.
  346. * printf/_itowa.h: New file.
  347. * printf/mul_n.c: New file.
  348. * printf/quadmath-printf.h: New file.
  349. * printf/submul_1.c: New file.
  350. * printf/quadmath-printf.c: New file.
  351. * printf/gmp-impl.h: New file.
  352. * printf/lshift.c: New file.
  353. * printf/fpioconst.h: New file.
  354. * printf/add_n.c: New file.
  355. * printf/cmp.c: New file.
  356. * printf/sub_n.c: New file.
  357. * printf/mul.c: New file.
  358. * printf/divrem.c: New file.
  359. * printf/addmul_1.c: New file.
  360. * printf/printf_fp.c: New file.
  361. * printf/_itoa.h: New file.
  362. * printf/fpioconst.c: New file.
  363. * printf/_i18n_number.h: New file.
  364. * printf/flt1282mpn.c: New file.
  365. * printf/rshift.c: New file.
  366. * printf/mul_1.c: New file.
  367. * quadmath_io.c: Removed.
  368. * gdtoa/gdtoa.c: Removed.
  369. * gdtoa/g__fmt.c: Removed.
  370. * gdtoa/g_Qfmt.c: Removed.
  371. * gdtoa/dmisc.c: Removed.
  372. * gdtoa/ulp.c: Removed.
  373. * config.h.in: Regenerated.
  374. * configure: Regenerated.
  375. * Makefile.in: Regenerated.
  376. 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  377. * Makefile.in: Regenerate.
  378. * aclocal.m4: Likewise.
  379. * configure: Likewise.
  380. 2011-01-31 Jerry DeLisle <jvdelisle@gcc.gnu.org>
  381. PR libquadmath/47293
  382. * gdtoa/qd_qnan.h: Fix NAN bit patterns.
  383. * gdtoa/strtopQ.c (strtoflt128): Handle endianess with NAN.
  384. 2011-01-17 Tobias Burnus <burnus@net-b.de>
  385. PR fortran/47295
  386. * libquadmath.text: Document typedef and constants.
  387. 2011-01-17 Tobias Burnus <burnus@net-b.de>
  388. PR fortran/46817
  389. * quadmath-imp.h: Refer to libquadmath not ot libiberty,
  390. bump copyright year and use /**/ instead of // comments.
  391. * quadmath.h: Ditto.
  392. * quadmath-weak.h: Ditto.
  393. * quadmath_io.c: Ditto.
  394. 2011-01-16 Jakub Jelinek <jakub@redhat.com>
  395. PR libfortran/47322
  396. * math/remquoq.c (remquoq): Use uint64_t type instead of u_int64_t.
  397. PR fortran/46625
  398. * quadmath.map (QUADMATH_1.0): Remove quadmath_strtopQ
  399. and quadmath_dtoaq. Add strtoflt128 and quadmath_flt128tostr.
  400. * quadmath_weak.h (quadmath_strtopQ, quadmath_dtoaq): Remove.
  401. (strtoflt128, quadmath_flt128tostr): Add.
  402. * gdtoa/strtopQ.c (quadmath_strtopQ): Rename to...
  403. (strtoflt128): ... this. Return __float128, instead of writing
  404. to memory pointed by last argument.
  405. * quadmath.h: Use C style comments instead of C++ style.
  406. (quadmath_strtopQ, quadmath_dtoaq): Remove prototypes.
  407. (strtoflt128, quadmath_flt128tostr): Add prototypes.
  408. * libquadmath.texi (quadmath_dtoaq): Rename to quadmath_flt128tostr.
  409. (quadmath_strtopQ): Rename to strtoflt128. Adjust prototype,
  410. adjust examples.
  411. * quadmath_io.c (quadmath_dtoaq): Rename to...
  412. (quadmath_flt128tostr): ... this.
  413. * quadmath.h (__quadmath_throw, __quadmath_nth): Define.
  414. Use it for all prototypes.
  415. PR fortran/46416
  416. * quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
  417. const from prototype argument.
  418. (cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
  419. llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
  420. (__quadmath_extern_inline): Define.
  421. (cimagq, conjq, crealq): New inlines.
  422. * Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
  423. math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
  424. math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
  425. math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
  426. * Makefile.in: Regenerated.
  427. * quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
  428. fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
  429. * quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
  430. (ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
  431. tests instead of __BIG_ENDIAN__.
  432. * quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
  433. fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
  434. and remquoq.
  435. * libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
  436. fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
  437. * math/cprojq.c: New file.
  438. * math/ilogbq.c: New file.
  439. * math/fminq.c: New file.
  440. * math/llrintq.c: New file.
  441. * math/log2q.c: New file.
  442. * math/lrintq.c: New file.
  443. * math/crealq.c: New file.
  444. * math/nearbyintq.c: New file.
  445. * math/fmaxq.c: New file.
  446. * math/conjq.c: New file.
  447. * math/remquoq.c: New file.
  448. * math/cimagq.c: New file.
  449. * math/fdimq.c: New file.
  450. * math/ldexpq.c: Include errno.h. Set errno to ERANGE if needed.
  451. PR fortran/46416
  452. * quadmath.h (cacosq, cacoshq, casinq, casinhq, catanq, catanhq):
  453. New prototypes.
  454. (M_Eq, M_LOG2Eq, M_LOG10Eq, M_LN2q, M_LN10q, M_PIq, M_PI_2q, M_PI_4q,
  455. M_1_PIq, M_2_PIq, M_2_SQRTPIq, M_SQRT2q, M_SQRT1_2q): Define.
  456. * quadmath_weak.h (cacosq, cacoshq, casinq, casinhq, catanq,
  457. catanhq): Add.
  458. * quadmath-imp.h (fpclassifyq, QUADFP_NAN, QUADFP_INFINITE,
  459. QUADFP_ZERO, QUADFP_SUBNORMAL, QUADFP_NORMAL): Define.
  460. * quadmath.map (QUADMATH_1.0): Add cacosq, cacoshq, casinq, casinhq,
  461. catanq and catanhq.
  462. * Makefile.am (libquadmath_la_SOURCES): Add math/cacosq.c,
  463. math/cacoshq.c, math/casinq.c, math/casinhq.c, math/catanq.c
  464. and math/catanhq.c.
  465. * Makefile.in: Regenerated.
  466. * libquadmath.texi (cacosq, cacoshq, casinq, casinhq,
  467. catanq, catanhq): Add.
  468. * math/cacoshq.c: New file.
  469. * math/cacosq.c: New file.
  470. * math/catanq.c: New file.
  471. * math/catanhq.c: New file.
  472. * math/casinq.c: New file.
  473. * math/casinhq.c: New file.
  474. * math/hypotq.c (hypotq): Use Q suffix instead of L.
  475. * math/atan2q.c (tiny, pi_o_4, pi_o_2, pi, pi_lo, atan2q): Likewise.
  476. * math/cosq.c (cosq): Likewise.
  477. PR fortran/46402
  478. * quadmath.map (QUADMATH_1.0): Add fmaq.
  479. * configure.ac: Check for fenv.h, feholdexcept, fesetround,
  480. feupdateenv, fesetenv and fetestexcept.
  481. * configure: Regenerated.
  482. * config.h.in: Regenerated.
  483. * quadmath.h (fmaq): New prototype.
  484. * quadmath_weak.h (fmaq): Add.
  485. * Makefile.am (libquadmath_la_SOURCES): Add math/fmaq.c.
  486. * Makefile.in: Regenerated.
  487. * quadmath-imp.h: Include config.h.
  488. * math/expq.c: Include fenv.h.
  489. (USE_FENV_H): Define if libm support for fe* is there.
  490. (expq): Add fesetround etc. support if USE_FENV_H is defined.
  491. * math/fmaq.c: New file.
  492. * libquadmath.texi (fmaq): Add.
  493. 2011-01-14 Tobias Burnus <burnus@net-b.de>
  494. PR fortran/47182
  495. * configure.ac: Use ACX_BUGURL.
  496. * libquadmath.texi: Include libquadmath-vers.texi for BUGURL.
  497. * Makefile.am: Create libquadmath-vers.texi.
  498. * configure.in: Regenerate.
  499. * Makefile.in: Regenerate.
  500. 2011-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  501. PR fortran/47174
  502. * Makefile.am (libquadmath.info): Unconditionally override
  503. target, not only if BUILD_LIBQUADMATH.
  504. * Makefile.in: Regenerate.
  505. * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override option to
  506. avoid warning from automake.
  507. 2010-12-19 Tobias Burnus <burnus@net-b.de>
  508. PR fortran/46520
  509. * configure.ac: Do not call AC_CHECK_LIB for gcc_no_link.
  510. * configure: Regenerate
  511. 2010-12-13 Tobias Burnus <burnus@net-b.de>
  512. PR fortran/46625
  513. * gdtoa/gdtoaimp.h: Mangle internal functions by
  514. prefixing them with __quadmath. Don't use gdtoa's strcp(y).
  515. * gdtoa/g_Qfmt.c (g_Qfmt): Use strcpy instead of strcp.
  516. * gdtoa/misc.c (strcpy): Renamed from strcp and only use
  517. if NO_STRING_H is set.
  518. * quadmath-imp.h (__quadmath_rem_pio2q, __quadmath_kernel_sincosq
  519. __quadmath_kernel_sinq, __quadmath_kernel_cosq): Added
  520. __quadmath prefix to internal functions.
  521. * math/cosq.c (cosq): Ditto.
  522. * math/sinq.c (cosq): Ditto.
  523. * math/tanq.c (tanq,__quadmath_kernel_tanq): Ditto.
  524. * math/rem_pio2q.c (rem_pio2, __quadmath_kernel_rem_pio2): Ditto.
  525. * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
  526. * math/cosq_kernel.c (__quadmath_kernel_cosq): Ditto.
  527. 2010-12-08 Tobias Burnus <burnus@net-b.de>
  528. PR fortran/46772
  529. * gdtoa/gdtoa.h: Include stdlib.h instead of declare strtod.
  530. * gdtoa/gdtoaimp.h: Don't declare strtod.
  531. 2010-12-08 Tobias Burnus <burnus@net-b.de>
  532. PR fortran/46520
  533. * configure.ac: Use GCC_TRY_COMPILE_OR_LINK instead of
  534. AC_TRY_LINK and cache libquad_have_float128.
  535. * configure: Regenerate.
  536. 2010-12-08 Tobias Burnus <burnus@net-b.de>
  537. PR fortran/46543
  538. * configure.ac: Add texinfo checks.
  539. * Makefile.am: Handle .texi documentation.
  540. * libquadmath.texi: New.
  541. * configure: Regenerated.
  542. * Makefile.in: Regenerated.
  543. 2010-12-06 Tobias Burnus <burnus@net-b.de>
  544. PR fortran/46817
  545. * quadmath-imp.h: Add LGPL header.
  546. * quadmath.h: Add LGPL header.
  547. * quadmath_io.c: Add LGPL header.
  548. * quadmath_weak.h: Add LGPL header.
  549. 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
  550. PR target/40125
  551. PR lto/46695
  552. * configure.ac: Invoke ACX_LT_HOST_FLAGS.
  553. * Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
  554. * aclocal.m4: Regenerate.
  555. * configure: Regenerate.
  556. * Makefile.in: Regenerate.
  557. 2010-11-30 Tobias Burnus <burnus@net-b.de>
  558. PR fortran/46594
  559. * Makefile.am: Install include files in
  560. target/version specific directory.
  561. * Makefile.in: Regenerate.
  562. 2010-11-30 Tobias Burnus <burnus@net-b.de>
  563. * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS,
  564. LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY,
  565. LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT): Remove.
  566. 2010-11-29 Kai Tietz <kai.tietz@onevision.com>
  567. * configure: Regenerated.
  568. * Makefile.in: Regenerated.
  569. * configure.ac (ACX_NONCANONICAL_TARGET): Call it.
  570. (target_alias): Use AC_SUBST for it.
  571. (GCC_NO_EXECUTABLES): Call it.
  572. (AC_PROG_CC): Improve multilib handling.
  573. Check that gcc is used for compilation.
  574. Use pattern from libssp for symbol versioning checking.
  575. * Makefile.am (LTLDFLAGS): Removed.
  576. (libquadmath_la_LDFLAGS): Add -no-undefined.
  577. (libquadmath_la_LINK): Commented out.
  578. (libquadmath_la_DEPENDENCIES): Add libquadmath_la_LIBADD.
  579. (AM_MAKEFLAGS): Add hack for argument passing by top-level.
  580. (MAKEOVERRIDES): New.
  581. * aclocal.m4: Regenerated.
  582. 2010-11-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
  583. * Makefile.am (libquadmath_la_LIBADD): Move -lm ...
  584. (libquadmath_la_LDFLAGS): ... here.
  585. (quadmath.map-sun): Tabify.
  586. Fix sed expression.
  587. * Makefile.in: Regenerate.
  588. 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
  589. Tobias Burnus <burnus@net-b.de>
  590. PR fortran/32049
  591. Initial implementation and checkin.