testsuite: adapt g++.dg/ipa/pr83667.C for AIX
[official-gcc.git] / libatomic / ChangeLog
blob67217dadef4eae79011998b9b4f74a8cfd5c7672
1 2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
3         * Makefile.am: Use -include.
4         * Makefile.in: Regenerate.
6 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
8         * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
9         * Makefile.in: Regenerate.
10         * configure.ac (tmake_file): Substitute.
11         * configure: Regenerate.
12         * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
13         * config/t-aix: New file.
15 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
17         * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
19 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
21         PR bootstrap/95413
22         * configure: Regenerated.
24 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
26         PR bootstrap/95147
27         * configure: Regenerated.
29 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
31         * configure: Regenerated.
33 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
35         * config/x86/fenv.c (__math_force_eval): Remove.
36         (__math_force_eval_div): New define.
37         (__atomic_deraiseexcept): Use __math_force_eval_div to use
38         generic division to generate INVALID, DIVZERO and INEXACT
39         exceptions.
41 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
43         * config/x86/fenv.c (__math_force_eval): New define.
44         (__atomic_feraiseexcept): Use __math_force_eval to evaluate
45         generic division to generate INVALID and DIVZERO exceptions.
47 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
49         * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
50         Remove unneeded assignments to volatile memory.
52 2020-04-06  Maciej W. Rozycki  <macro@wdc.com>
54         * configure.ac: Add testsuite/libatomic-site-extra.exp to output
55         files.
56         * configure: Regenerate.
57         * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
58         * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
59         variable.
60         * testsuite/Makefile.in: Regenerate.
62 2020-02-22  Jakub Jelinek  <jakub@redhat.com>
64         PR other/55930
65         * Makefile.am (M_DEPS): Guard the empty definition with
66         @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
67         * Makefile.in: Regenerated.
69 2020-02-22  Richard Purdie  <rpurdie@rpsys.net>
71         PR other/55930
72         * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
73         * Makefile.in: Regenerated.
75 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
77         * configure.ac: Handle `--with-toolexeclibdir='.
78         * Makefile.in: Regenerate.
79         * aclocal.m4: Regenerate.
80         * configure: Regenerate.
81         * testsuite/Makefile.in: Regenerate.
83 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
85         Update copyright years.
87 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
89         * configure: Regenerate.
91 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
93         * configure.tgt: Handle arm*-*-uclinux*.
94         * configure: Regenerate.
96 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
98         PR other/79543
99         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
100         scanning to conform to the GNU Coding Standards.
101         * configure: Regenerate.
103 2019-06-14  Matt Thomas  <matt@3am-software.com>
104             Matthew Green  <mrg@eterna.com.au>
105             Nick Hudson  <skrll@netbsd.org>
106             Maya Rashish  <coypu@sdf.org>
108         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
110 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
112         Update copyright years.
114 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
116         PR bootstrap/82856
117         * Makefile.am: Include multilib.am.
118         * acinclude.m4: Use AC_LANG_SOURCE.
119         * configure.ac: Remove AC_PREREQ.
120         * testsuite/Makefile.am (RUNTEST): Remove quotes.
121         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
122         Regenerate.
124 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
126         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
127         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
128         and HAVE_STREXBHD
130 2018-05-23  Florian Weimer  <fweimer@redhat.com>
132         PR libgcc/60790
133         x86: Do not assume ELF constructors run before IFUNC resolvers.
134         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
135         Remove declarations.
136         (__libat_feat1, __libat_feat1_init): Declare.
137         (FEAT1_REGISTER): Define.
138         (load_feat1): New function.
139         (IFUNC_COND_1): Adjust.
140         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
141         (init_cpuid): Remove definitions.
142         (__libat_feat1): New variable.
143         (__libat_feat1_init): New function.
145 2018-05-02  Tom de Vries  <tom@codesourcery.com>
147         PR testsuite/85106
148         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
150 2018-05-02  Tom de Vries  <tom@codesourcery.com>
152         PR testsuite/85106
153         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
155 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
157         * configure: Regenerated.
159 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
161         * configure: Regenerated.
163 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
165         PR jit/85384
166         * configure: Regenerate.
168 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
170         * config/s390/exch_n.c: New file.
171         * configure.tgt: Add the config directory for s390.
173 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
175         PR target/84148
176         * configure: Regenerate.
178 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
180         Update copyright years.
182 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
184         * Makefile.am (IFUNC_OPTIONS): Change aarch64
185         option from -march=armv8.1-a to -march=armv8-a+lse.
186         * configure.ac (*aarch64*): Check to see if
187         compiler understands -march=armv8-a+lse option.
188         * configure.tgt (*aarch64*): Only set try_ifunc
189         if compiler understands -march=armv8-a+lse option.
190         * Makefile.in: Regenerate.
191         * testsuite/Makefile.in: Regenerate.
192         * configure: Regenerate.
193         * aclocal.m4: Regenerate.
195 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
197         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
198         libatomic_la_LIBADD.
199         * config/linux/aarch64/host-config.h: New file.
200         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
201         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
202         * configure.tgt (aarch64): Set ARCH and try_ifunc.
203         (aarch64*-*-linux*) Update config_path.
204         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
205         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
206         * Makefile.in: Regenerate.
207         * auto-config.h.in: Regenerate.
208         * configure: Regenerate.
210 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
212         * configure.ac: Set CET_FLAGS, update XCFLAGS.
213         * acinclude.m4: Add cet.m4 and enable.m4.
214         * configure: Regenerate.
215         * Makefile.in: Likewise.
216         * testsuite/Makefile.in: Likewise.
218 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
220         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
221         -march=armv7-a+fp on Linux/Arm.
222         * Makefile.in: Regenerated.
224 2017-10-02  Martin Sebor  <msebor@redhat.com>
226         PR c/81854
227         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
228         a function pointer rather than void* to avoid GCC 8 warnings.
229         * configure: Regenerate.
230         * libatomic_i.h: Declare ifunc resolvers to return function
231         pointers rather than void*.
233 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
235         * testsuite/lib/libatomic.exp: Load scanlang.exp.
237 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
239         * configure.tgt: Add RISC-V tuple.
241 2017-02-01  Richard Henderson  <rth@redhat.com>
242             Torvald Riegel  <triegel@redhat.com>
244         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
245         * auto-config.h.in: Regenerate.
246         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
247         (atomic_compare_exchange_n): New.
248         * glfree.c (EXACT, LARGER): Change condition and add comments.
250 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
252         PR target/78945
253         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
255 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
257         PR other/79046
258         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
259         of cat to get version from BASE-VER file.
260         * testsuite/Makefile.in: Regenerated.
262 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
264         PR other/79046
265         * configure.ac: Add GCC_BASE_VER.
266         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
267         get version from BASE-VER file.
268         * testsuite/Makefile.in: Regenerated.
269         * configure: Regenerated.
270         * Makefile.in: Regenerated.
272 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
274         Update copyright years.
276 2016-11-15  Matthias Klose  <doko@ubuntu.com>
278         * configure: Regenerate.
280 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
282         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
283         (*-*-rtems*): New supported target.
284         * config/rtems/host-config.h: New file.
285         * config/rtems/lock.c: Likewise.
287 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
289         PR target/70454
290         * configure.tgt (XCFLAGS): Revert the last change.
292 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
294         PR target/70454
295         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
296         32-bit x86 target library on x86-64.
298 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
300         PR other/67627
301         * Makefile.am (all-multi): Add dependency.
302         * Makefile.in: Regenerate.
304 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
306         Update copyright years.
308 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
310         PR c/65083
311         * fence.c, flag.c: New files.
312         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
313         * Makefile.in: Regenerate.
314         * configure.ac (libtool_VERSION): Change to 3:0:2.
315         * configure: Regenerate.
316         * libatomic.map (LIBATOMIC_1.2): New symbol version.
318 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
320         * testsuite/lib/libatomic.exp: Load multiline.exp before
321         prune.exp, using load_gcc_lib.
323 2015-07-14  John Marino  <gnugcc@marino.st>
325         * configure.tgt: Add *-*-dragonfly to supported targets.
327 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
329         * fop_n.c (libat_fetch_op): Align address to word boundary.
330         (libat_op_fetch): Likewise.
332 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
334         PR testsuite/64605
335         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
336         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
338 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
340         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
342 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
344         Update copyright years.
346 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
348         * testsuite/lib/libatomic.exp: Load target-utils.exp
350 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
352         PR bootstrap/63784
353         * configure: Regenerated.
355 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
357         * cas_n.c (libat_compare_exchange): Add missing cast.
359 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
361         PR target/63610
362         * configure: Regenerate.
364 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
366         * configure.tgt: Add cygwin to supported targets.
368 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
370         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
372 2014-06-17  Kai Tietz  <ktietz@redhat.com>
374         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
375         * configure.ac (ACX_LT_HOST_FLAGS): New.
376         (target_thread_file): New.
377         * configure.tgt (mingw): Add mingw support.
378         * config/mingw/host-config.h: New file.
379         * config/mingw/lock.c: Likewise.
380         * Makefile.in: Regenerated.
381         * configure: Likewise.
382         * aclocal.m4: Likewise.
383         * testsuite/Makefile.in: Likewise.
385 2014-02-20  Richard Henderson <rth@redhat.com>
387         PR c++/60272
388         * cas_n.c (libat_compare_exchange): Conditionalize on failure
389         the store back to EPTR.
391 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
393         Update copyright years
395 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
397         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
398         instructions when __SSE_MATH__ is defined.
400 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
402         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
403         testsuite/libatomic.c/atomic-compare-exchange-2.c,
404         testsuite/libatomic.c/atomic-compare-exchange-3.c,
405         testsuite/libatomic.c/atomic-compare-exchange-4.c,
406         testsuite/libatomic.c/atomic-compare-exchange-5.c,
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,
412         testsuite/libatomic.c/atomic-generic.c,
413         testsuite/libatomic.c/atomic-load-1.c,
414         testsuite/libatomic.c/atomic-load-2.c,
415         testsuite/libatomic.c/atomic-load-3.c,
416         testsuite/libatomic.c/atomic-load-4.c,
417         testsuite/libatomic.c/atomic-load-5.c,
418         testsuite/libatomic.c/atomic-op-1.c,
419         testsuite/libatomic.c/atomic-op-2.c,
420         testsuite/libatomic.c/atomic-op-3.c,
421         testsuite/libatomic.c/atomic-op-4.c,
422         testsuite/libatomic.c/atomic-op-5.c,
423         testsuite/libatomic.c/atomic-store-1.c,
424         testsuite/libatomic.c/atomic-store-2.c,
425         testsuite/libatomic.c/atomic-store-3.c,
426         testsuite/libatomic.c/atomic-store-4.c,
427         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
428         int.  Do not require built-in sync support or add target-specific
429         options.
430         * testsuite/libatomic.c/atomic-exchange-1.c,
431         testsuite/libatomic.c/atomic-exchange-2.c,
432         testsuite/libatomic.c/atomic-exchange-3.c,
433         testsuite/libatomic.c/atomic-exchange-4.c,
434         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
435         count from expression using value of count.
437 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
439         * config/x86/fenv.c: New file.
441 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
443         * fenv.c: New file.
444         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
445         __atomic_feraiseexcept.
446         * configure.ac (libtool_VERSION): Change to 2:0:1.
447         (fenv.h): Test for header.
448         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
449         * Makefile.in, auto-config.h.in, configure: Regenerate.
451 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
453         * libatomic/configure.tgt (aarch64*): Remove code preventing
454         build.
456 2013-09-20  Alan Modra  <amodra@gmail.com>
458         * configure: Regenerate.
460 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
462         Update copyright years.
464 2012-12-18  Ian Lance Taylor  <iant@google.com>
466         PR go/55201
467         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
468         (libatomic_convenience_la_SOURCES): Likewise.
469         (libatomic_convenience_la_LIBADD): Likewise.
470         * Makefile.in: Rebuild.
471         * testsuite/Makefile.in: Rebuild.
473 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
475         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
477 2012-11-21  Matthias Klose  <doko@ubuntu.com>
479         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
481 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
483         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
484         * configure: Regenerate.
486         * configure: Regenerate.
488 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
490         Mark libatomic unsupported in AArch64.
492         * configure.tgt: Mark libatomic unsupported.
494 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
496         PR other/43620
497         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
498         * configure: Regenerate.
499         * Makefile.in: Regenerate.
501 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
503         * configure: Regenerated.
505 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
507         PR other/53231
508         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
512         * configure: Regenerated.
514 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
516         PR other/53284
517         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
518         instead of overriding.
519         * configure: Regenerate.
521 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
523         * Makefile.am (libatomic.map-sun): Handle objects in
524         libatomic_la_LIBADD.
525         * aclocal.m4: Regenerate.
526         * Makefile.in: Regenerate.
528 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
530         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
531         * configure: Regenerate.
533 2012-05-03  Richard Henderson  <rth@redhat.com>
535         * configure.ac (AM_MAINTAINER_MODE): New.
536         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
537         failure in gcc_no_link path.
538         * configure, aclocal.m4, Makefile.in: Rebuild.
540 2012-05-01  Richard Henderson  <rth@redhat.com>
542         * Initial commit.
544 Copyright (C) 2012-2020 Free Software Foundation, Inc.
546 Copying and distribution of this file, with or without modification,
547 are permitted in any medium without royalty provided the copyright
548 notice and this notice are preserved.