Skip to content
Snippets Groups Projects
  1. Jan 04, 2021
  2. Jun 21, 2020
    • David Edelsohn's avatar
      aix: Add GCC64 configuration and FAT target libraries. · 47ddb895
      David Edelsohn authored
      This patch adds the ability to configure GCC on AIX to build as a
      64 bit application and to build target libraries "FAT" libraries in both
      32 bit and 64 bit mode.
      
      The patch adds makefile fragment hooks to target libraries that allows
      them to include target-specific rules.  The target specific rules for
      AIX place both 32 bit and 64 bit objects and shared objects
      in archives at the top-level, not multilib subdirectories.  The
      multilibs are built in subdirectories, but must be combined during the
      last parts of the target library build process.  Because of the way
      that GCC bootstrap works, the libraries must be combined during the
      multiple stages of GCC bootstrap, not solely when installed in the
      final destination, so the libraries are correct at the end of
      each target library build stage, not solely an install recipe.
      
      gcc/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* config.gcc: Use t-aix64, biarch64 and default64 for cpu_is_64bit.
      	* config/rs6000/aix72.h (ASM_SPEC): Remove aix64 option.
      	(ASM_SPEC32): New.
      	(ASM_SPEC64): New.
      	(ASM_CPU_SPEC): Remove vsx and altivec options.
      	(CPP_SPEC_COMMON): Rename from CPP_SPEC.
      	(CPP_SPEC32): New.
      	(CPP_SPEC64): New.
      	(CPLUSPLUS_CPP_SPEC): Rename to CPLUSPLUS_CPP_SPEC_COMMON..
      	(TARGET_DEFAULT): Only define if not BIARCH.
      	(LIB_SPEC_COMMON): Rename from LIB_SPEC.
      	(LIB_SPEC32): New.
      	(LIB_SPEC64): New.
      	(LINK_SPEC_COMMON): Rename from LINK_SPEC.
      	(LINK_SPEC32): New.
      	(LINK_SPEC64): New.
      	(STARTFILE_SPEC): Add 64 bit version of crtcxa and crtdbase.
      	(ASM_SPEC): Define 32 and 64 bit alternatives using DEFAULT_ARCH64_P.
      	(CPP_SPEC): Same.
      	(CPLUSPLUS_CPP_SPEC): Same.
      	(LIB_SPEC): Same.
      	(LINK_SPEC): Same.
      	(SUBTARGET_EXTRA_SPECS): Add new 32/64 specs.
      	* config/rs6000/defaultaix64.h: New file.
      	* config/rs6000/t-aix64: New file.
      
      libgcc/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
      	* config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
      	and 64 bit with -maix64.
      	* config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
      	Build and install AIX-style FAT libraries.
      
      libgomp/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.tgt (powerpc-ibm-aix*): Define tmake_file.
      	* config/t-aix: New file.
      
      libstdc++-v3/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate.
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.host (aix*): Define tmake_file.
      	* config/os/aix/t-aix: New file.
      
      libatomic/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate.
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.tgt (powerpc-ibm-aix*): Define tmake_file.
      	* config/t-aix: New file.
      
      libgfortran/ChangeLog
      
      2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
      
      	* Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
      	* Makefile.in: Regenerate.
      	* configure.ac (tmake_file): Substitute.
      	* configure: Regenerate.
      	* configure.host: Add system configury stanza. Define tmake_file.
      	* config/t-aix: New file.
      47ddb895
  3. Apr 06, 2020
    • Maciej W. Rozycki's avatar
      libatomic/test: Fix compilation for build sysroot · 5ff06d76
      Maciej W. Rozycki authored
      Fix a problem with the libatomic testsuite using a method to determine
      the compiler to use resulting in the tool being different from one the
      library has been built with, and causing a catastrophic failure from the
      lack of a suitable `--sysroot=' option where the `--with-build-sysroot='
      configuration option has been used to build the compiler resulting in
      the inability to link executables.
      
      Address this problem by providing a DejaGNU configuration file defining
      the compiler to use, via the GCC_UNDER_TEST TCL variable, set from $CC
      by autoconf, which will have all the required options set for the target
      compiler to build executables in the environment configured, removing
      failures like:
      
      .../bin/riscv64-linux-gnu-ld: cannot find crt1.o: No such file or directory
      .../bin/riscv64-linux-gnu-ld: cannot find -lm
      collect2: error: ld returned 1 exit status
      compiler exited with status 1
      FAIL: libatomic.c/atomic-compare-exchange-1.c (test for excess errors)
      Excess errors:
      .../bin/riscv64-linux-gnu-ld: cannot find crt1.o: No such file or directory
      .../bin/riscv64-linux-gnu-ld: cannot find -lm
      
      UNRESOLVED: libatomic.c/atomic-compare-exchange-1.c compilation failed to produce executable
      
      and bringing overall test results for the `riscv64-linux-gnu' target
      (here with the `x86_64-linux-gnu' host and RISC-V QEMU in the Linux user
      emulation mode as the target board) from:
      
      		=== libatomic Summary ===
      
      # of unexpected failures	27
      # of unresolved testcases	27
      
      to:
      
      		=== libatomic Summary ===
      
      # of expected passes		54
      
      	libatomic/
      	* configure.ac: Add testsuite/libatomic-site-extra.exp to output
      	files.
      	* configure: Regenerate.
      	* libatomic/testsuite/libatomic-site-extra.exp.in: New file.
      	* testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
      	variable.
      	* testsuite/Makefile.in: Regenerate.
      5ff06d76
  4. Jan 24, 2020
    • Maciej W. Rozycki's avatar
      Add `--with-toolexeclibdir=' configuration option · e8e66971
      Maciej W. Rozycki authored
      Provide means, in the form of a `--with-toolexeclibdir=' configuration
      option, to override the default installation directory for target
      libraries, otherwise known as $toolexeclibdir.  This is so that it is
      possible to get newly-built libraries, particularly the shared ones,
      installed in a common place, so that they can be readily used by the
      target system as their host libraries, possibly over NFS, without a need
      to manually copy them over from the currently hardcoded location they
      would otherwise be installed in.
      
      In the presence of the `--enable-version-specific-runtime-libs' option
      and for configurations building native GCC the option is ignored.
      
      	config/
      	* toolexeclibdir.m4: New file.
      
      	gcc/
      	* doc/install.texi (Cross-Compiler-Specific Options): Document
      	`--with-toolexeclibdir' option.
      
      	libada/
      	* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	libatomic/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libffi/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* man/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libgcc/
      	* Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	libgfortran/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libgomp/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libhsail-rt/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libitm/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libobjc/
      	* Makefile.in (aclocal_deps): Add `toolexeclibdir.m4'.
      	* aclocal.m4: Include `toolexeclibdir.m4'.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* configure: Regenerate.
      
      	liboffloadmic/
      	* plugin/configure.ac: Handle `--with-toolexeclibdir='.
      	* plugin/Makefile.in: Regenerate.
      	* plugin/aclocal.m4: Regenerate.
      	* plugin/configure: Regenerate.
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libphobos/
      	* m4/druntime.m4: Handle `--with-toolexeclibdir='.
      	* m4/Makefile.in: Regenerate.
      	* libdruntime/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libquadmath/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libsanitizer/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* asan/Makefile.in: Regenerate.
      	* interception/Makefile.in: Regenerate.
      	* libbacktrace/Makefile.in: Regenerate.
      	* lsan/Makefile.in: Regenerate.
      	* sanitizer_common/Makefile.in: Regenerate.
      	* tsan/Makefile.in: Regenerate.
      	* ubsan/Makefile.in: Regenerate.
      
      	libssp/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	libstdc++-v3/
      	* acinclude.m4: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* src/c++11/Makefile.in: Regenerate.
      	* src/c++17/Makefile.in: Regenerate.
      	* src/c++98/Makefile.in: Regenerate.
      	* src/filesystem/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	libvtv/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	zlib/
      	* configure.ac: Handle `--with-toolexeclibdir='.
      	* Makefile.in: Regenerate.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      e8e66971
  5. Jan 01, 2020
  6. Jan 01, 2019
  7. Oct 31, 2018
    • Joseph Myers's avatar
      Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). · 22e05272
      Joseph Myers authored
      This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
      (That's not the latest automake version, but it's the one used by
      binutils-gdb, with which consistency is desirable, and in any case
      seems a useful incremental update that should make a future update to
      1.16.1 easier.)
      
      The changes are generally similar to the binutils-gdb ones, and are
      copied from there where shared files and directories are involved
      (there are some further changes to such shared directories, however,
      which I'd expect to apply to binutils-gdb once this patch is in GCC).
      Largely, obsolete AC_PREREQ calls are removed, while many
      AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
      autoconf.  Multilib support is no longer included in core automake,
      meaning that multilib.am needs copying from automake's contrib
      directory into the GCC source tree.  Autoconf 2.69 has Go support, so
      local copies of that support are removed.  I hope the D support will
      soon be submitted to upstream autoconf so the local copy of that can
      be removed in a future update.  Changes to how automake generates
      runtest calls mean quotes are removed from RUNTEST definitions in five
      lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
      libphobos, libvtv; some others have RUNTEST definitions without
      quotes, which are still OK); libgo and libphobos also get
      -Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
      do not generate automake warnings.
      
      Note that the regeneration did not include regeneration of
      fixincludes/config.h.in (attempting such regeneration resulted in all
      the USED_FOR_TARGET conditionals disappearing; and I don't see
      anything in the fixincludes/ directory that would result in such
      conditionals being generated, unlike in the gcc/ directory).  Also
      note that libvtv/testsuite/other-tests/Makefile.in was not
      regenerated; that directory is not listed as a subdirectory for which
      Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
      not sure how it's meant to be regenerated.
      
      While I mostly fixed warnings should running aclocal / automake /
      autoconf, there were various such warnings from automake in the
      libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
      directories that I did not fix, preferring to leave those to the
      relevant subsystem maintainers.  Specifically, most of those warnings
      were of the following form (example from libgfortran):
      
      Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
      Makefile.am:48: but option 'subdir-objects' is disabled
      automake: warning: possible forward-incompatibility.
      automake: At least a source file is in a subdirectory, but the 'subdir-objects'
      automake: automake option hasn't been enabled.  For now, the corresponding output
      automake: object file(s) will be placed in the top-level directory.  However,
      automake: this behaviour will change in future Automake versions: they
      will
      automake: unconditionally cause object files to be placed in the same subdirectory
      automake: of the corresponding sources.
      automake: You are advised to start using 'subdir-objects' option throughout your
      automake: project, to avoid future incompatibilities.
      
      I think it's best for the relevant maintainers to add subdir-objects
      and do any other associated Makefile.am changes needed.  In some cases
      the paths in the warnings involved ../; I don't know if that adds any
      extra complications to the use of subdir-objects.
      
      I've tested this with native, cross and Canadian cross builds.  The
      risk of any OS-specific issues should I hope be rather lower than if a
      libtool upgrade were included (we *should* do such an upgrade at some
      point, but it's more complicated - it involves identifying all our
      local libtool changes to see if any aren't included in the upstream
      version we update to, and reverting an upstream libtool patch that's
      inappropriate for use in GCC); I think it would be better to get this
      update into GCC so that people can test in different configurations
      and we can fix any issues found, rather than to try to get more and
      more testing done before it goes in.
      
      top level:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* multilib.am: New file.  From automake.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
      	* ar-lib: New file.
      	* test-driver: New file.
      	* configure: Re-generate.
      
      config:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* math.m4, tls.m4: Use AC_LANG_SOURCE.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
      
      fixincludes:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, configure: Regenerate.
      
      gcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use single
      	line for second argument of AC_DEFINE_UNQUOTED.
      	* doc/install.texi (Tools/packages necessary for modifying GCC):
      	Update to autoconf 2.69 and automake 1.15.1.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      gnattools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      gotools:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* config/go.m4: Remove file.
      	* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
      	* configure.ac:  Remove AC_PREREQ.  Do not include config/go.m4.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      intl:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.h.in: Re-generate.
      	* aclocal.m4: Re-generate.
      
      libada:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Regenerate.
      
      libatomic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* acinclude.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libbacktrace:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libcc1:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libcpp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* aclocal.m4, config.in, configure: Regenerate.
      
      libdecnumber:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* aclocal.m4.
      
      libffi:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove doc/libffi.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
      	include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
      	Regenerate.
      
      libgcc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* configure: Regenerate.
      
      libgfortran:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libgo [logically part of this change but omitted from the commit]:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* config/go.m4: Remove file.
      	* config/libtool.m4: Use AC_LANG_SOURCE.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.  Use
      	-Wno-override in AM_INIT_AUTOMAKE call.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libgomp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libgomp.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libhsail-rt:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libiberty:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Remove AC_PREREQ.
      	* configure: Re-generate.
      	* config.in: Re-generate.
      
      libitm:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Add info-in-builddir.
      	(CLEANFILES): Remove libitm.info.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      libobjc:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.
      	* aclocal.m4, config.h.in, configure: Regenerate.
      
      liboffloadmic:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* plugin/Makefile.am: Include multilib.am.
      	* plugin/configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
      	plugin/aclocal.m4, plugin/configure: Regenerate.
      
      libphobos:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use -Wno-override in
      	AM_INIT_AUTOMAKE call.
      	* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
      	* m4/druntime/os.m4: Use AC_LANG_SOURCE.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
      	src/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libquadmath:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.8.  Add info-in-builddir.
      	(all-local): Define outside conditional code.
      	(CLEANFILES): Remove libquadmath.info.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      libsanitizer:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
      	interception/Makefile.in, libbacktrace/Makefile.in,
      	lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
      	ubsan/Makefile.in: Regenerate.
      
      libssp:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	(AUTOMAKE_OPTIONS): Remove 1.9.5.
      	* configure.ac: Remove AC_PREREQ.  Quote argument to
      	AC_RUN_IFELSE.
      	* Makefile.in, aclocal.m4, configure: Regenerate.
      
      libstdc++-v3:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
      	include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
      	python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
      	src/c++17/Makefile.in, src/c++98/Makefile.in,
      	src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      libvtv:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      	* configure.ac: Remove AC_PREREQ.
      	* testsuite/Makefile.am (RUNTEST): Remove quotes.
      	* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
      	Regenerate.
      
      lto-plugin:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* configure.ac: Remove AC_PREREQ.  Use AC_LANG_SOURCE.
      	* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
      
      zlib:
      2018-10-31  Joseph Myers  <joseph@codesourcery.com>
      
      	PR bootstrap/82856
      	* Makefile.am: Include multilib.am.
      
      	Merge from binutils-gdb:
      	2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
      
      	* configure.ac: Modernize AC_INIT call, remove AC_PREREQ.
      	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign.
      	* Makefile.in: Re-generate.
      	* aclocal.m4: Re-generate.
      	* configure: Re-generate.
      
      From-SVN: r265695
      22e05272
  8. Jan 03, 2018
  9. Dec 14, 2017
    • Steve Ellcey's avatar
      Makefile.am (IFUNC_OPTIONS): Change aarch64 option from -march=armv8.1-a to -march=armv8-a+lse. · 9d0e85af
      Steve Ellcey authored
      2017-12-14  Steve Ellcey  <sellcey@cavium.com>
      
      	* Makefile.am (IFUNC_OPTIONS): Change aarch64
      	option from -march=armv8.1-a to -march=armv8-a+lse.
      	* configure.ac (*aarch64*): Check to see if
      	compiler understands -march=armv8-a+lse option.
      	* configure.tgt (*aarch64*): Only set try_ifunc
      	if compiler understands -march=armv8-a+lse option.
      	* Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      	* configure: Regenerate.
      	* aclocal.m4: Regenerate.
      
      From-SVN: r255659
      9d0e85af
  10. Dec 05, 2017
    • Steve Ellcey's avatar
      Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and libatomic_la_LIBADD. · 141abc6f
      Steve Ellcey authored
      2017-12-04  Steve Ellcey  <sellcey@cavium.com>
      
      	* Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
      	libatomic_la_LIBADD.
      	* config/linux/aarch64/host-config.h: New file.
      	* configure.ac (IFUNC_RESOLVER_ARGS): Define.
      	(ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
      	* configure.tgt (aarch64): Set ARCH and try_ifunc.
      	(aarch64*-*-linux*) Update config_path.
      	(aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
      	* libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
      	* Makefile.in: Regenerate.
      	* auto-config.h.in: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r255399
      141abc6f
  11. Nov 17, 2017
    • Igor Tsimbalist's avatar
      Enable building libatomic with Intel CET · efc643e9
      Igor Tsimbalist authored
      libatomic/
      	* configure.ac: Set CET_FLAGS, update XCFLAGS.
      	* acinclude.m4: Add cet.m4 and enable.m4.
      	* configure: Regenerate.
      	* Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r254893
      efc643e9
  12. Jan 17, 2017
    • Jakub Jelinek's avatar
      re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) · 3c36aa6b
      Jakub Jelinek authored
      	PR other/79046
      	* configure: Regenerated.
      config/
      	* acx.m4 (GCC_BASE_VER): New m4 function.
      	(ACX_TOOL_DIRS): Require GCC_BASE_VER, for
      	--with-gcc-major-version-only use just major number from BASE-VER.
      gcc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	(CFLAGS-gcc.o): Add -DBASEVER=$(BASEVER_s).
      	(gcc.o): Depend on $(BASEVER).
      	* common.opt (dumpfullversion): New option.
      	* gcc.c (driver_handle_option): Handle OPT_dumpfullversion.
      	* doc/invoke.texi: Document -dumpfullversion.
      	* doc/install.texi: Document --with-gcc-major-version-only.
      	* configure: Regenerated.
      libatomic/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libgomp/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libgcc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	* configure: Regenerated.
      libssp/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      liboffloadmic/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* aclocal.m4: Include ../config/acx.m4.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libquadmath/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libmpx/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libada/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
      	version from BASE-VER file.
      	* configure: Regenerated.
      lto-plugin/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libitm/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      fixincludes/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      libcilkrts/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* aclocal.m4: Include ../config/acx.m4.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libcc1/
      	* configure.ac: Add GCC_BASE_VER.  For --with-gcc-major-version-only
      	use just major number from BASE-VER.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libobjc/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      libstdc++-v3/
      	* configure.ac: Add GCC_BASE_VER.
      	* fragment.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* po/Makefile.in: Regenerated.
      	* libsupc++/Makefile.in: Regenerated.
      	* testsuite/Makefile.in: Regenerated.
      	* src/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      	* include/Makefile.in: Regenerated.
      	* doc/Makefile.in: Regenerated.
      	* python/Makefile.in: Regenerated.
      	* src/c++11/Makefile.in: Regenerated.
      	* src/c++98/Makefile.in: Regenerated.
      	* src/filesystem/Makefile.in: Regenerated.
      libvtv/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      libsanitizer/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* libbacktrace/Makefile.in: Regenerated.
      	* interception/Makefile.in: Regenerated.
      	* asan/Makefile.in: Regenerated.
      	* ubsan/Makefile.in: Regenerated.
      	* configure: Regenerated.
      	* sanitizer_common/Makefile.in: Regenerated.
      	* lsan/Makefile.in: Regenerated.
      	* Makefile.in: Regenerated.
      	* tsan/Makefile.in: Regenerated.
      libgfortran/
      	* configure.ac: Add GCC_BASE_VER.
      	* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
      	get version from BASE-VER file.
      	* configure: Regenerated.
      	* Makefile.in: Regenerated.
      
      From-SVN: r244521
      3c36aa6b
  13. Jan 01, 2017
  14. Jan 04, 2016
  15. Nov 18, 2015
    • Joseph Myers's avatar
      Add out-of-line versions of some <stdatomic.h> functions (PR c/65083). · c29c36ad
      Joseph Myers authored
      PR c/65083 notes that some functions in <stdatomic.h> are normal
      functions, not generic functions, and so need to have out-of-line
      copies that can be called when macro expansion is suppressed (unlike
      the generic functions where DR#419 makes it undefined if you suppress
      a macro expansion).
      
      This patch adds such out-of-line definitions in libatomic for those
      six functions, at a new LIBATOMIC_1.2 symbol version, as trivial
      wrappers to the <stdatomic.h> macros, along with declarations of those
      functions in <stdatomic.h>.  Tests are added that are based on the
      corresponding tests for the macros, but with parentheses around the
      function names to force the out-of-line functions to be used.
      
      Bootstrapped with no regressions on x86_64-pc-linux-gnu.
      
      gcc:
      	* ginclude/stdatomic.h (atomic_thread_fence, atomic_signal_fence)
      	(atomic_flag_test_and_set, atomic_flag_test_and_set_explicit)
      	(atomic_flag_clear, atomic_flag_clear_explicit): Declare as
      	functions before defining as macros.
      
      gcc/testsuite:
      	* gcc.dg/atomic/stdatomic-fence-2.c,
      	gcc.dg/atomic/stdatomic-flag-2.c: New tests.
      
      libatomic:
      	* fence.c, flag.c: New files.
      	* Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
      	* Makefile.in: Regenerate.
      	* configure.ac (libtool_VERSION): Change to 3:0:2.
      	* configure: Regenerate.
      	* libatomic.map (LIBATOMIC_1.2): New symbol version.
      
      From-SVN: r230578
      c29c36ad
  16. Jan 05, 2015
  17. Jun 17, 2014
    • Kai Tietz's avatar
      Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags. · dc3368d0
      Kai Tietz authored
      	* Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
      	* configure.ac (ACX_LT_HOST_FLAGS): New.
      	(target_thread_file): New.
      	* configure.tgt (mingw): Add mingw support.
      	* config/mingw/host-config.h: New file.
      	* config/mingw/lock.c: Likewise.
      	* Makefile.in: Regenerated.
      	* configure: Likewise.
      	* aclocal.m4: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r211747
      dc3368d0
  18. Jan 02, 2014
  19. Nov 07, 2013
    • Joseph Myers's avatar
      tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC. · 267bac10
      Joseph Myers authored
      gcc:
      2013-11-05  Andrew MacLeod  <amacleod@redhat.com>
      	    Joseph Myers  <joseph@codesourcery.com>
      
      	* tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC.
      	(enum tree_index): Add TI_ATOMICQI_TYPE, TI_ATOMICHI_TYPE,
      	TI_ATOMICSI_TYPE, TI_ATOMICDI_TYPE and TI_ATOMICTI_TYPE.
      	(struct tree_base): Add atomic_flag field.
      	* tree.h (TYPE_ATOMIC): New accessor macro.
      	(TYPE_QUALS, TYPE_QUALS_NO_ADDR_SPACE): Add TYPE_QUAL_ATOMIC.
      	(TYPE_QUALS_NO_ADDR_SPACE_NO_ATOMIC): New macro.
      	(atomicQI_type_node, atomicHI_type_node, atomicSI_type_node)
      	(atomicDI_type_node, atomicTI_type_node): New macros for type
      	nodes.
      	* tree.c (set_type_quals): Set TYPE_ATOMIC.
      	(find_atomic_core_type): New function.
      	(build_qualified_type): Adjust alignment for qualified types.
      	(build_atomic_base): New function
      	(build_common_tree_nodes): Build atomicQI_type_node,
      	atomicHI_type_node, atomicSI_type_node, atomicDI_type_node and
      	atomicTI_type_node.
      	* print-tree.c (print_node): Print atomic qualifier.
      	* tree-pretty-print.c (dump_generic_node): Print atomic type
      	attribute.
      	* target.def (atomic_assign_expand_fenv): New hook.
      	* doc/tm.texi.in (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New @hook.
      	* doc/tm.texi: Regenerate.
      	* targhooks.c (default_atomic_assign_expand_fenv): New function.
      	* targhooks.h (default_atomic_assign_expand_fenv): Declare.
      	* sync-builtins.def (__atomic_feraiseexcept): New built-in
      	function.
      	* config/i386/i386-builtin-types.def (VOID_FTYPE_PUSHORT): New
      	function type.
      	* config/i386/i386.c (enum ix86_builtins): Add
      	IX86_BUILTIN_FNSTENV, IX86_BUILTIN_FLDENV, IX86_BUILTIN_FNSTSW and
      	IX86_BUILTIN_FNCLEX.
      	(bdesc_special_args): Add __builtin_ia32_fnstenv,
      	__builtin_ia32_fldenv, __builtin_ia32_fnstsw and
      	__builtin_ia32_fnclex.
      	(ix86_expand_builtin): Handle the new built-in functions.
      	(ix86_atomic_assign_expand_fenv): New function.
      	(TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New macro.
      	* config/i386/i386.md (UNSPECV_FNSTENV, UNSPECV_FLDENV)
      	(UNSPECV_FNSTSW, UNSPECV_FNCLEX): New unspecs.
      	(fnstenv, fldenv, fnstsw, fnclex): New insns.
      
      gcc/c-family:
      2013-11-05  Andrew MacLeod  <amacleod@redhat.com>
      	    Joseph Myers  <joseph@codesourcery.com>
      
      	* c-common.h (enum rid): Add RID_ATOMIC.
      	* c-common.c (c_common_reswords): Add _Atomic.
      	(sync_resolve_params): Use TYPE_MAIN_VARIANT on pointer argument.
      	(keyword_is_type_qualifier): Accept RID_ATOMIC.
      	* c-format.c (check_format_types): Check for extra _Atomic
      	qualifiers in format argument.
      	* c-pretty-print.c (pp_c_cv_qualifiers): Handle atomic qualifier.
      	(pp_c_type_qualifier_list): Mention _Atomic in comment.
      
      gcc/c:
      2013-11-05  Joseph Myers  <joseph@codesourcery.com>
      	    Andrew MacLeod  <amacleod@redhat.com>
      
      	* c-aux-info.c (gen_type): Handle atomic qualifier.
      	* c-decl.c (validate_proto_after_old_defn): Do not remove atomic
      	qualifiers when compating types.
      	(shadow_tag_warned): Handle atomic_p in declspecs.
      	(quals_from_declspecs): Likewise.
      	(start_decl): Use c_type_promotes_to when promoting argument
      	types.
      	(grokdeclarator): Handle _Atomic.
      	(get_parm_info): Diagnose any qualifier on "void" as only
      	parameter.
      	(store_parm_decls_oldstyle): Do not remove atomic qualifiers when
      	comparing types.  Use c_type_promotes_to when promoting argument
      	types.
      	(finish_function): Use c_type_promotes_to when promoting argument
      	types.
      	(build_null_declspecs): Handle atomic_p in declspecs.
      	(declspecs_add_qual): Handle RID_ATOMIC.
      	* c-parser.c (c_token_starts_typename, c_token_is_qualifier)
      	(c_token_starts_declspecs): Handle RID_ATOMIC.
      	(c_parser_declspecs): Handle atomic type specifiers and
      	qualifiers.
      	(c_parser_typeof_specifier): Remove const and _Atomic qualifiers
      	from types of expressions with atomic type.
      	(c_parser_direct_declarator_inner): Use convert_lvalue_to_rvalue.
      	(c_parser_attribute_any_word): Handle RID_ATOMIC.
      	(c_parser_initializer, c_parser_initelt, c_parser_initval)
      	(c_parser_statement_after_labels, c_parser_switch_statement)
      	(c_parser_for_statement, c_parser_expr_no_commas)
      	(c_parser_conditional_expression, c_parser_binary_expression)
      	(c_parser_cast_expression, c_parser_unary_expression)
      	(c_parser_postfix_expression)
      	(c_parser_postfix_expression_after_primary, c_parser_expression):
      	Use convert_lvalue_to_rvalue.
      	(c_parser_expression_conv, c_parser_expr_list): Document
      	conversion of lvalues to rvalues.  Use convert_lvalue_to_rvalue.
      	(c_parser_objc_synchronized_statement): Use
      	convert_lvalue_to_rvalue.
      	(c_parser_objc_selector): Handle RID_ATOMIC.
      	(c_parser_objc_receiver, c_parser_array_notation): Use
      	convert_lvalue_to_rvalue.
      	* c-tree.h (ctsk_typeof): Adjust comment to mention use for
      	_Atomic (type-name).
      	(struct c_declspecs): Add atomic_p field.
      	(convert_lvalue_to_rvalue): Declare.
      	* c-typeck.c (c_type_promotes_to): Promote atomic types to
      	corresponding atomic types.
      	(qualify_type): Don't add _Atomic qualifiers from second argument.
      	(comp_target_types): Do not allow _Atomic mismatches.
      	(type_lists_compatible_p): Do not remove atomic qualifiers when
      	comparing types.
      	(really_atomic_lvalue, convert_lvalue_to_rvalue)
      	(build_atomic_assign): New functions.
      	(build_unary_op): Use build_atomic_assign for atomic increment and
      	decrement.
      	(build_conditional_expr): Do not treat _Atomic void as a qualified
      	version of void.
      	(build_modify_expr): Use build_atomic_assign for atomic LHS.
      	(find_anonymous_field_with_type, convert_to_anonymous_field)
      	(convert_for_assignment): Do not remove atomic qualifiers when
      	comparing types.
      	(digest_init): Do not accept initialization of arrays of atomic
      	elements by string constants.
      	(build_asm_expr): Use convert_lvalue_to_rvalue.
      	(build_binary_op): Do not treat _Atomic void as a qualified
      	version of void.
      
      gcc/objc:
      2013-11-05  Andrew MacLeod  <amacleod@redhat.com>
      
      	* objc-act.c (objc_push_parm): Handle atomic qualifier.
      
      gcc/testsuite:
      2013-11-05  Joseph Myers  <joseph@codesourcery.com>
      
      	* lib/target-supports.exp
      	(check_effective_target_fenv_exceptions): New function.
      	* lib/atomic-dg.exp, gcc.dg/atomic/atomic.exp: New files.
      	* gcc.dg/atomic/c11-atomic-exec-1.c,
      	gcc.dg/atomic/c11-atomic-exec-2.c,
      	gcc.dg/atomic/c11-atomic-exec-3.c,
      	gcc.dg/atomic/c11-atomic-exec-4.c,
      	gcc.dg/atomic/c11-atomic-exec-5.c, gcc.dg/c11-atomic-1.c,
      	gcc.dg/c11-atomic-2.c, gcc.dg/c11-atomic-3.c,
      	gcc.dg/c90-atomic-1.c, gcc.dg/c99-atomic-1.c: New tests.
      
      libatomic:
      2013-11-05  Joseph Myers  <joseph@codesourcery.com>
      
      	* fenv.c: New file.
      	* libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
      	__atomic_feraiseexcept.
      	* configure.ac (libtool_VERSION): Change to 2:0:1.
      	(fenv.h): Test for header.
      	* Makefile.am (libatomic_la_SOURCES): Add fenv.c.
      	* Makefile.in, auto-config.h.in, configure: Regenerate.
      
      From-SVN: r204544
      267bac10
  20. Jan 14, 2013
  21. Sep 20, 2012
    • Jakub Jelinek's avatar
      re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to... · c0758df9
      Jakub Jelinek authored
      re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue)
      
      	PR other/43620
      libatomic/
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      libitm/
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      From-SVN: r191565
      c0758df9
  22. May 07, 2012
  23. May 03, 2012
  24. May 01, 2012
  25. Feb 13, 2012
    • Eric Botcazou's avatar
      gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm. · 255a9a1b
      Eric Botcazou authored
      gcc/
      	* gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
      	(GTM_SELF_SPECS): Define if not already defined.
      	(driver_self_specs): Add GTM_SELF_SPECS.
      	* config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm.
      	(GTM_SELF_SPECS): Define.
      	* config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
      	* config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.
      libitm/
      	* configure.ac (link_itm): Fix comment.
      	* configure: Regenerate.
      	* testsuite/lib/libitm.exp: Do not pass -litm for the link.
      
      From-SVN: r184174
      255a9a1b
  26. Jan 23, 2012
    • Rainer Orth's avatar
      Clear hardware capabilities on libitm.so with Sun ld · 9ce91011
      Rainer Orth authored
      	* clearcap.map: New file.
      	* acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test.
      	* configure.ac: Call it.
      	Clear HWCAP_LDFLAGS if defaulting to -mavx.
      	* Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS)
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      From-SVN: r183430
      9ce91011
  27. Dec 15, 2011
    • Richard Henderson's avatar
      arm-linux: Add libitm support. · aebac0ca
      Richard Henderson authored
      	* config/arm/hwcap.h, config/arm/hwcap.cc: New files.
      	* config/arm/sjlj.S, config/arm/target.h: New files.
      	* config/generic/asmcfi.h (cfi_adjust_cfa_offset): New.
      	(cfi_rel_offset): New.
      	* config/linux/futex_bits.h: New file.
      	* config/linux/futex.cc: Include futex_bits.h here...
      	* config/linux/futex.h: ... not here.
      	* Makefile.am (libitm_la_SOURCES) <ARCH_ARM>: Add hwcap.cc.
      	* configure.ac (ARCH_AM): New conditional.
      	* Makefile.in, configure: Rebuild.
      	* configure.tgt: Handle ARM.
      
      From-SVN: r182355
      aebac0ca
  28. Nov 22, 2011
    • Iain Sandoe's avatar
      weakref.m4: New file. · 8cf36bb3
      Iain Sandoe authored
      config:
      
      	* weakref.m4: New file.
      
      libitm:
      
      	* configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF.
      	* alloc_cpp.cc: Generate dummy functions if we don't
      	HAVE_ELF_STYLE_WEAKREF.
      	* eh_cpp.cc: Likewise.
      	* configure: Regenerate.
      	* aclocal.m4:  Likewise.
      	* config.h.in: Likewise.
      	* Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r181618
      8cf36bb3
  29. Nov 10, 2011
  30. Nov 09, 2011
    • Richard Henderson's avatar
      libitm: Configure for gas cfi pseudo ops. · 4bdd090f
      Richard Henderson authored
      	* asmcfi.m4: New file.
      
      	* configure.ac (GCC_AS_CFI_PSEUDO_OP): Test it.
      	* configure, aclocal.m4, config.h.in: Rebuild.
      	* config/generic/asmcfi.h: New file.
      	* config/x86/sjlj.S: Use it.
      
      From-SVN: r181224
      4bdd090f
  31. Nov 08, 2011
  32. Dec 06, 2010
    • Dave Korn's avatar
      re PR target/40125 (libgcc_s DLL installed in wrong directory in cross toolchain) · 7de6ba7a
      Dave Korn authored
      config/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* lthostflags.m4: New file.
      	(ACX_LT_HOST_FLAGS): Define.
      
      libgfortran/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
      	* Makefile.am (LTLDFLAGS): Use lt_host_flags.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      libgomp/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
      	* Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
      	* configure.host (libgcj_sublib_ltflags): Use lt_host_flags.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libobjc/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
      	* Makefile.in (lt_host_flags): Import AC_SUBST'd value.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      libquadmath/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
      	* Makefile.am (libquadmath_la_LDFLAGS): Use lt_host_flags.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      libssp/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
      	* Makefile.am (libssp_la_LDFLAGS): Use lt_host_flags.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      libstdc++-v3/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
      	* configure.host (OPT_LDFLAGS): Use lt_host_flags for cygming.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      lto-plugin/ChangeLog:
      
      2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
      
      	PR target/40125
      	PR lto/46695
      	* configure.ac: Invoke ACX_LT_HOST_FLAGS.
      	* Makefile.am (liblto_plugin_la_LDFLAGS): Use lt_host_flags but
      	override -bindir setting.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      From-SVN: r167480
      7de6ba7a
  33. Nov 16, 2010
    • Francois-Xavier Coudert's avatar
      re PR fortran/32049 (Support on x86_64 also kind=16) · 1ec601bf
      Francois-Xavier Coudert authored
      
      /
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * Makefile.def: Add libquadmath; build it with language=fortran.
              * configure.ac: Add libquadmath.
              * Makefile.tpl: Handle multiple libs in check-[+language+].
              * Makefile.in: Regenerate.
              * configure: Regenerate.
      
      libquadmath/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              Initial implementation and checkin.
      
      gcc/fortran/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * gfortranspec.c (find_spec_file): New function.
              (lang_specific_driver): Try to find .spec file and use it.
              * trans-io.c (iocall): Define
              * IOCALL_X_REAL128/COMPLEX128(,write).
              (gfc_build_io_library_fndecls): Build decl for __float128 I/O.
              (transfer_expr): Call __float128 I/O functions.
              * trans-types.c (gfc_init_kinds): Allow kind-16 belonging
              to __float128.
      
      gcc/testsuite/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * gfortran.dg/quad_1.f90: New.
              * lib/gcc-defs.exp (gcc-set-multilib-library-path): Use also
              compiler arguments.
              * lib/gfortran.exp (gfortran_link_flags): Add libquadmath to
              library search path; call gcc-set-multilib-library-path with
              arguments such that libgfortran.spec is found.
              (gfortran_init): Add path for libgfortran.spec to
      GFORTRAN_UNDER_TEST.
      
      libgomp/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * configure.ac: 
              * configure: Regenerate.
      
      libgfortran/
      2010-11-13  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
                  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/32049
              * Makefile.am: Add missing pow_r16_i4.c, add transfer128.c,
              link libquadmath, if used.
              * acinclude.m4 (LIBGFOR_CHECK_FLOAT128): Add.
              * configure.ac: Use it, touch spec file.
              * gfortran.map: Add pow_r16_i4 and
              transfer_(real,complex)128(,write) functions.
              * intrinsics/cshift0.c (cshift0): Handle __float128 type.
              * intrinsics/erfc_scaled_inc.c: Ditto.
              * intrinsics/pack_generic.c (pack): Ditto
              * intrinsics/spread_generic.c (spread): Ditto.
              * intrinsics/unpack_generic.c (unpack1): Ditto.
              * io/read.c (convert_real): Ditto.
              * io/transfer.c: Update comments.
              * io/transfer128.c: New file.
              * io/write_float.def (write_float): Handle __float128 type.
              * libgfortran.h: #include quadmath_weak.h, define __builtin_infq
              and nanq.
              * m4/mtype.m4: Handle __float128 type.
              * runtime/in_pack_generic.c (internal_pack): Ditto.
              * runtime/in_unpack_generic.c (internal_unpack): Ditto.
              * kinds-override.h: New file.
              * libgfortran.spec.in: Ditto.
              * generated/pow_r16_i4.c: Generated.
              * Makefile.in: Regenerate.
              * configure: Regenerate.
              * config.h: Regenerate.
              * bessel_r10.c: Regenerate.
              * bessel_r16.c: Regenerate.
              * bessel_r4.c: Regenerate.
              * bessel_r8.c: Regenerate.
              * exponent_r16.c: Regenerate.
              * fraction_r16.c: Regenerate.
              * nearest_r16.c: Regenerate.
              * norm2_r10.c: Regenerate.
              * norm2_r16.c: Regenerate.
              * norm2_r4.c: Regenerate.
              * norm2_r8.c: Regenerate.
              * rrspacing_r16.c: Regenerate.
              * set_exponent_r16.c: Regenerate.
              * spacing_r16.c: Regenerate.
      
      
      Co-Authored-By: default avatarTobias Burnus <burnus@net-b.de>
      
      From-SVN: r166825
      1ec601bf
  34. May 04, 2010
    • Ralf Wildenhues's avatar
      no-dist in non-imported automake dirs. · 13917ae3
      Ralf Wildenhues authored
      libgfortran/:
      	PR other/43620
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      libgomp/:
      	PR other/43620
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/:
      	PR other/43620
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* Makefile.in: Regenerate.
      	* gcj/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libjava/libltdl/:
      	PR other/43620
      	* Makefile.am (AUTOMAKE_OPTIONS): Add no-dist.
      	* Makefile.in: Regenerate.
      
      libmudflap/:
      	PR other/43620
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      libssp/:
      	PR other/43620
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* Makefile.in: Regenerate.
      
      libstdc++-v3/:
      	PR other/43620
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      	* doc/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* python/Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      lto-plugin/:
      	PR other/43620
      	* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
      	* Makefile.in: Regenerate.
      
      From-SVN: r159041
      13917ae3
  35. Jan 26, 2010
  36. Oct 17, 2009
  37. Aug 24, 2009
    • Ralf Wildenhues's avatar
      Update AC_PREREQ entries to 2.64 · df58e648
      Ralf Wildenhues authored
      /:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      intl/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libdecnumber/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libiberty/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/classpath/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libjava/libltdl/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.  Remove FIXME.
      
      libssp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libobjc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libstdc++-v3/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libada/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgcc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgfortran/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      boehm-gc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      gnattools/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      gcc/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      fixincludes/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libmudflap/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      zlib/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libffi/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libcpp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      libgomp/:
      	* configure.ac (AC_PREREQ): Bump to 2.64.
      
      From-SVN: r151059
      df58e648
Loading