c++: Fix bogus -Wparentheses warning [PR95344]
[official-gcc.git] / libatomic / ChangeLog
blobddfce8d5552e0de63feef6944c6d6bacbe65965c
1 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
3         PR bootstrap/95147
4         * configure: Regenerated.
6 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
8         * configure: Regenerated.
10 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
12         * config/x86/fenv.c (__math_force_eval): Remove.
13         (__math_force_eval_div): New define.
14         (__atomic_deraiseexcept): Use __math_force_eval_div to use
15         generic division to generate INVALID, DIVZERO and INEXACT
16         exceptions.
18 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
20         * config/x86/fenv.c (__math_force_eval): New define.
21         (__atomic_feraiseexcept): Use __math_force_eval to evaluate
22         generic division to generate INVALID and DIVZERO exceptions.
24 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
26         * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
27         Remove unneeded assignments to volatile memory.
29 2020-04-06  Maciej W. Rozycki  <macro@wdc.com>
31         * configure.ac: Add testsuite/libatomic-site-extra.exp to output
32         files.
33         * configure: Regenerate.
34         * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
35         * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
36         variable.
37         * testsuite/Makefile.in: Regenerate.
39 2020-02-22  Jakub Jelinek  <jakub@redhat.com>
41         PR other/55930
42         * Makefile.am (M_DEPS): Guard the empty definition with
43         @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
44         * Makefile.in: Regenerated.
46 2020-02-22  Richard Purdie  <rpurdie@rpsys.net>
48         PR other/55930
49         * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
50         * Makefile.in: Regenerated.
52 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
54         * configure.ac: Handle `--with-toolexeclibdir='.
55         * Makefile.in: Regenerate.
56         * aclocal.m4: Regenerate.
57         * configure: Regenerate.
58         * testsuite/Makefile.in: Regenerate.
60 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
62         Update copyright years.
64 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
66         * configure: Regenerate.
68 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
70         * configure.tgt: Handle arm*-*-uclinux*.
71         * configure: Regenerate.
73 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
75         PR other/79543
76         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
77         scanning to conform to the GNU Coding Standards.
78         * configure: Regenerate.
80 2019-06-14  Matt Thomas  <matt@3am-software.com>
81             Matthew Green  <mrg@eterna.com.au>
82             Nick Hudson  <skrll@netbsd.org>
83             Maya Rashish  <coypu@sdf.org>
85         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
87 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
89         Update copyright years.
91 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
93         PR bootstrap/82856
94         * Makefile.am: Include multilib.am.
95         * acinclude.m4: Use AC_LANG_SOURCE.
96         * configure.ac: Remove AC_PREREQ.
97         * testsuite/Makefile.am (RUNTEST): Remove quotes.
98         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
99         Regenerate.
101 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
103         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
104         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
105         and HAVE_STREXBHD
107 2018-05-23  Florian Weimer  <fweimer@redhat.com>
109         PR libgcc/60790
110         x86: Do not assume ELF constructors run before IFUNC resolvers.
111         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
112         Remove declarations.
113         (__libat_feat1, __libat_feat1_init): Declare.
114         (FEAT1_REGISTER): Define.
115         (load_feat1): New function.
116         (IFUNC_COND_1): Adjust.
117         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
118         (init_cpuid): Remove definitions.
119         (__libat_feat1): New variable.
120         (__libat_feat1_init): New function.
122 2018-05-02  Tom de Vries  <tom@codesourcery.com>
124         PR testsuite/85106
125         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
127 2018-05-02  Tom de Vries  <tom@codesourcery.com>
129         PR testsuite/85106
130         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
132 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
134         * configure: Regenerated.
136 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
138         * configure: Regenerated.
140 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
142         PR jit/85384
143         * configure: Regenerate.
145 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
147         * config/s390/exch_n.c: New file.
148         * configure.tgt: Add the config directory for s390.
150 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
152         PR target/84148
153         * configure: Regenerate.
155 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
157         Update copyright years.
159 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
161         * Makefile.am (IFUNC_OPTIONS): Change aarch64
162         option from -march=armv8.1-a to -march=armv8-a+lse.
163         * configure.ac (*aarch64*): Check to see if
164         compiler understands -march=armv8-a+lse option.
165         * configure.tgt (*aarch64*): Only set try_ifunc
166         if compiler understands -march=armv8-a+lse option.
167         * Makefile.in: Regenerate.
168         * testsuite/Makefile.in: Regenerate.
169         * configure: Regenerate.
170         * aclocal.m4: Regenerate.
172 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
174         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
175         libatomic_la_LIBADD.
176         * config/linux/aarch64/host-config.h: New file.
177         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
178         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
179         * configure.tgt (aarch64): Set ARCH and try_ifunc.
180         (aarch64*-*-linux*) Update config_path.
181         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
182         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
183         * Makefile.in: Regenerate.
184         * auto-config.h.in: Regenerate.
185         * configure: Regenerate.
187 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
189         * configure.ac: Set CET_FLAGS, update XCFLAGS.
190         * acinclude.m4: Add cet.m4 and enable.m4.
191         * configure: Regenerate.
192         * Makefile.in: Likewise.
193         * testsuite/Makefile.in: Likewise.
195 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
197         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
198         -march=armv7-a+fp on Linux/Arm.
199         * Makefile.in: Regenerated.
201 2017-10-02  Martin Sebor  <msebor@redhat.com>
203         PR c/81854
204         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
205         a function pointer rather than void* to avoid GCC 8 warnings.
206         * configure: Regenerate.
207         * libatomic_i.h: Declare ifunc resolvers to return function
208         pointers rather than void*.
210 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
212         * testsuite/lib/libatomic.exp: Load scanlang.exp.
214 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
216         * configure.tgt: Add RISC-V tuple.
218 2017-02-01  Richard Henderson  <rth@redhat.com>
219             Torvald Riegel  <triegel@redhat.com>
221         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
222         * auto-config.h.in: Regenerate.
223         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
224         (atomic_compare_exchange_n): New.
225         * glfree.c (EXACT, LARGER): Change condition and add comments.
227 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
229         PR target/78945
230         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
232 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
234         PR other/79046
235         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
236         of cat to get version from BASE-VER file.
237         * testsuite/Makefile.in: Regenerated.
239 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
241         PR other/79046
242         * configure.ac: Add GCC_BASE_VER.
243         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
244         get version from BASE-VER file.
245         * testsuite/Makefile.in: Regenerated.
246         * configure: Regenerated.
247         * Makefile.in: Regenerated.
249 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
251         Update copyright years.
253 2016-11-15  Matthias Klose  <doko@ubuntu.com>
255         * configure: Regenerate.
257 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
259         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
260         (*-*-rtems*): New supported target.
261         * config/rtems/host-config.h: New file.
262         * config/rtems/lock.c: Likewise.
264 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
266         PR target/70454
267         * configure.tgt (XCFLAGS): Revert the last change.
269 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
271         PR target/70454
272         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
273         32-bit x86 target library on x86-64.
275 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
277         PR other/67627
278         * Makefile.am (all-multi): Add dependency.
279         * Makefile.in: Regenerate.
281 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
283         Update copyright years.
285 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
287         PR c/65083
288         * fence.c, flag.c: New files.
289         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
290         * Makefile.in: Regenerate.
291         * configure.ac (libtool_VERSION): Change to 3:0:2.
292         * configure: Regenerate.
293         * libatomic.map (LIBATOMIC_1.2): New symbol version.
295 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
297         * testsuite/lib/libatomic.exp: Load multiline.exp before
298         prune.exp, using load_gcc_lib.
300 2015-07-14  John Marino  <gnugcc@marino.st>
302         * configure.tgt: Add *-*-dragonfly to supported targets.
304 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
306         * fop_n.c (libat_fetch_op): Align address to word boundary.
307         (libat_op_fetch): Likewise.
309 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
311         PR testsuite/64605
312         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
313         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
315 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
317         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
319 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
321         Update copyright years.
323 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
325         * testsuite/lib/libatomic.exp: Load target-utils.exp
327 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
329         PR bootstrap/63784
330         * configure: Regenerated.
332 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
334         * cas_n.c (libat_compare_exchange): Add missing cast.
336 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
338         PR target/63610
339         * configure: Regenerate.
341 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
343         * configure.tgt: Add cygwin to supported targets.
345 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
347         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
349 2014-06-17  Kai Tietz  <ktietz@redhat.com>
351         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
352         * configure.ac (ACX_LT_HOST_FLAGS): New.
353         (target_thread_file): New.
354         * configure.tgt (mingw): Add mingw support.
355         * config/mingw/host-config.h: New file.
356         * config/mingw/lock.c: Likewise.
357         * Makefile.in: Regenerated.
358         * configure: Likewise.
359         * aclocal.m4: Likewise.
360         * testsuite/Makefile.in: Likewise.
362 2014-02-20  Richard Henderson <rth@redhat.com>
364         PR c++/60272
365         * cas_n.c (libat_compare_exchange): Conditionalize on failure
366         the store back to EPTR.
368 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
370         Update copyright years
372 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
374         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
375         instructions when __SSE_MATH__ is defined.
377 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
379         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
380         testsuite/libatomic.c/atomic-compare-exchange-2.c,
381         testsuite/libatomic.c/atomic-compare-exchange-3.c,
382         testsuite/libatomic.c/atomic-compare-exchange-4.c,
383         testsuite/libatomic.c/atomic-compare-exchange-5.c,
384         testsuite/libatomic.c/atomic-exchange-1.c,
385         testsuite/libatomic.c/atomic-exchange-2.c,
386         testsuite/libatomic.c/atomic-exchange-3.c,
387         testsuite/libatomic.c/atomic-exchange-4.c,
388         testsuite/libatomic.c/atomic-exchange-5.c,
389         testsuite/libatomic.c/atomic-generic.c,
390         testsuite/libatomic.c/atomic-load-1.c,
391         testsuite/libatomic.c/atomic-load-2.c,
392         testsuite/libatomic.c/atomic-load-3.c,
393         testsuite/libatomic.c/atomic-load-4.c,
394         testsuite/libatomic.c/atomic-load-5.c,
395         testsuite/libatomic.c/atomic-op-1.c,
396         testsuite/libatomic.c/atomic-op-2.c,
397         testsuite/libatomic.c/atomic-op-3.c,
398         testsuite/libatomic.c/atomic-op-4.c,
399         testsuite/libatomic.c/atomic-op-5.c,
400         testsuite/libatomic.c/atomic-store-1.c,
401         testsuite/libatomic.c/atomic-store-2.c,
402         testsuite/libatomic.c/atomic-store-3.c,
403         testsuite/libatomic.c/atomic-store-4.c,
404         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
405         int.  Do not require built-in sync support or add target-specific
406         options.
407         * testsuite/libatomic.c/atomic-exchange-1.c,
408         testsuite/libatomic.c/atomic-exchange-2.c,
409         testsuite/libatomic.c/atomic-exchange-3.c,
410         testsuite/libatomic.c/atomic-exchange-4.c,
411         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
412         count from expression using value of count.
414 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
416         * config/x86/fenv.c: New file.
418 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
420         * fenv.c: New file.
421         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
422         __atomic_feraiseexcept.
423         * configure.ac (libtool_VERSION): Change to 2:0:1.
424         (fenv.h): Test for header.
425         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
426         * Makefile.in, auto-config.h.in, configure: Regenerate.
428 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
430         * libatomic/configure.tgt (aarch64*): Remove code preventing
431         build.
433 2013-09-20  Alan Modra  <amodra@gmail.com>
435         * configure: Regenerate.
437 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
439         Update copyright years.
441 2012-12-18  Ian Lance Taylor  <iant@google.com>
443         PR go/55201
444         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
445         (libatomic_convenience_la_SOURCES): Likewise.
446         (libatomic_convenience_la_LIBADD): Likewise.
447         * Makefile.in: Rebuild.
448         * testsuite/Makefile.in: Rebuild.
450 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
452         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
454 2012-11-21  Matthias Klose  <doko@ubuntu.com>
456         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
458 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
460         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
461         * configure: Regenerate.
463         * configure: Regenerate.
465 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
467         Mark libatomic unsupported in AArch64.
469         * configure.tgt: Mark libatomic unsupported.
471 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
473         PR other/43620
474         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
475         * configure: Regenerate.
476         * Makefile.in: Regenerate.
478 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
480         * configure: Regenerated.
482 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
484         PR other/53231
485         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
487 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
489         * configure: Regenerated.
491 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
493         PR other/53284
494         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
495         instead of overriding.
496         * configure: Regenerate.
498 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
500         * Makefile.am (libatomic.map-sun): Handle objects in
501         libatomic_la_LIBADD.
502         * aclocal.m4: Regenerate.
503         * Makefile.in: Regenerate.
505 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
507         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
508         * configure: Regenerate.
510 2012-05-03  Richard Henderson  <rth@redhat.com>
512         * configure.ac (AM_MAINTAINER_MODE): New.
513         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
514         failure in gcc_no_link path.
515         * configure, aclocal.m4, Makefile.in: Rebuild.
517 2012-05-01  Richard Henderson  <rth@redhat.com>
519         * Initial commit.
521 Copyright (C) 2012-2020 Free Software Foundation, Inc.
523 Copying and distribution of this file, with or without modification,
524 are permitted in any medium without royalty provided the copyright
525 notice and this notice are preserved.