1. 21 Jun, 2019 2 commits
    • [Darwin, fixincludes] Fix Darwin9/10 math.h issues. · 5a50aed3
      Darwin has had long long functions for some considerable time and these are
      exposed in Darwin8 and Darwin11+ headers.  However, for some reason it was
      elected to hide them behind __STRICT_ANSI__ and __STDC_VERSION__ on Darwin9
      and Darwin10.  This is a problem for G++/libstdc++ that expects the functions
      to be available for strict ansi (-std=c++14, for example) and without
      defining __STDC_VERSION__.  The fix here follows the pattern used in
      Darwin11+ headers where the functions may be explicitly hidden by defining
      __DARWIN_NO_LONG_LONG.
      
      This fixes the tr1 testsuite fails seen on Darwin9 and 10.
      
      2019-06-21  Iain Sandoe  <iain@sandoe.co.uk>
      
      	* inclhack.def: Replace the complex test using __STRICT_ANSI__ and
      	__STDC_VERSION__ with a test using __DARWIN_NO_LONG_LONG.
      	Ensure that the top level math.h uses <> to wrap included headers
      	rather than "".
      	* fixincl.x: Regenerated.
      	* tests/base/architecture/ppc/math.h: Update test to include the
      	__DARWIN_NO_LONG_LONG case.
      
      From-SVN: r272563
      Iain Sandoe committed
    • [Darwin, fixincludes] Fix Darwin14 header issues. · 59a0b1db
      There are two issues with the Darwin14 (SDK) headers in which unguarded
      advanced syntax elements causes any code including these headers to fail.
      
      2019-06-21  Iain Sandoe  <iain@sandoe.co.uk>
      
      	* inclhack.def: Guard __has_attribute and __has_extension in
      	os/base.h.
      	Guard Apple blocks syntax in dispatch/object.h.
      	* fixincl.x: Regenerate.
      	* tests/base/dispatch/object.h: New file.
      	* tests/base/os/base.h: New file.
      
      From-SVN: r272561
      Iain Sandoe committed
  2. 11 May, 2019 1 commit
    • fixincludes - fix PR90379 · 7121b43f
      One should not provide test_text for wrap style fixes
      this was causing the test to fail.  No change to the
      actual fix.
      
      2019-05-11  Iain Sandoe  <iain@sandoe.co.uk>
      	PR target/90379
      	PR bootstrap/89864
      	* inclhack.def (darwin_ucred__Atomic): Do not supply test_text
      	for wrap fixes.
      	* fixincl.x: Regenerated.
      
      From-SVN: r271098
      Iain Sandoe committed
  3. 18 Apr, 2019 1 commit
    • re PR bootstrap/89864 (gcc fails to build/bootstrap with XCode 10.2) · 8e6759aa
      fix PR89864
      
            2019-04-18  Erik Schnetter  <schnetter@gmail.com>
      	  Jakub Jelinek  <jakub@redhat.com>
      	  Iain Sandoe  <iain@sandoe.co.uk>
      
      	PR bootstrap/89864
      	* inclhack.def (darwin_ucred__Atomic): New, work around _Atomic keyword
      	use in headers included by C++.
      	* fixincl.x: Regenerated.
      
      
      Co-Authored-By: Iain Sandoe <iain@sandoe.co.uk>
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r270435
      Erik Schnetter committed
  4. 31 Oct, 2018 1 commit
    • Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). · 22e05272
      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
      Joseph Myers committed
  5. 16 Oct, 2018 1 commit
    • fixincludes: vxworks: regs.h: Fix includes in regs.h wrapper · 92a7f46b
      A quick experiment reveals that this hack is needed for C code - simply
      removing this hack entirely breaks the build of libstdc++, since
      regs.h (more accurately, the cpu-specific header it pulls in) defines
      structs in terms of types from vxTypesOld. Those definitions are
      properly guarded by #ifndef _ASMLANGUAGE, but the cpu-files do not take
      care to include vxTypesOld.h for the types they depend on.
      
      But when using regs.h from some assembly file, the assembler chokes on
      the typedefs in vxTypesOld.h. We can fix that by guarding the include of
      vxTypesOld by !_ASMLANGUAGE. This should not affect existing C code.
      
      Now, the OS' regs.h contains preprocessor conditionals such as
      
      #if     CPU_FAMILY==I960
      ...
      #endif  /* CPU_FAMILY==I960 */
      #if     CPU_FAMILY==MC680X0
      ...
      #endif  /* CPU_FAMILY==MC680X0 */
      
      Without definitions of CPU_FAMILY, I960 etc., these would all be true,
      which will not end well. Code using the fix-included regs.h
      automatically get vxCpu.h via a chain of includes from vxTypesOld.h, but
      we can make regs.h a little more self-contained for both C and asm users
      by doing an explicit include of vxCpu.h.
      
      From-SVN: r265187
      Rasmus Villemoes committed
  6. 03 Sep, 2018 1 commit
    • fixincludes: vxworks: remove unnecessary parentheses in ioctl wrapper macro · c7a8f93d
      The rationale for the fixinclude ioctl macro wrapper is, as far as I can
      tell (https://gcc.gnu.org/ml/gcc-patches/2012-09/msg01619.html)
      
        Fix 2: Add hack for ioctl() on VxWorks.
      
        ioctl() is supposed to be variadic, but VxWorks only has a three
        argument version with the third argument of type int.  This messes up
        when the third argument is not implicitly convertible to int.  This
        adds a macro which wraps around ioctl() and explicitly casts the third
        argument to an int.  This way, the most common use case of ioctl (with
        a const char * for the third argument) will compile in C++, where
        pointers must be explicitly casted to int.
      
      However, we have existing C++ code that calls the ioctl function via
      
        ::ioctl(foo, bar, baz)
      
      and obviously this breaks when it gets expanded to
      
        ::(ioctl)(foo, bar, (int)(baz))
      
      Since the GNU C preprocessor already prevents recursive expansion of
      function-like macros, the parentheses around ioctl are unnecessary.
      
      Incidentally, there is also a macro sioIoctl() in the vxworks sioLib.h
      header that expands to
      
        ((pSioChan)->pDrvFuncs->ioctl (pSioChan, cmd, arg))
      
      which also breaks when that gets further expanded to
      
        ((pSioChan)->pDrvFuncs->(ioctl) (pSioChan, cmd, (int)(arg)))
      
      This patch partly fixes that issue as well, but the third argument to
      the pDrvFuncs->ioctl method should be void*, so the cast to (int) is
      slightly annoying. Internally, we've simply patched the sioIoctl macro:
      
        (((pSioChan)->pDrvFuncs->ioctl) (pSioChan, cmd, arg))
      
      From-SVN: r264056
      Rasmus Villemoes committed
  7. 27 Aug, 2018 1 commit
  8. 23 Jul, 2018 1 commit
  9. 27 Jun, 2018 1 commit
  10. 12 Jun, 2018 2 commits
  11. 25 May, 2018 1 commit
  12. 18 Apr, 2018 1 commit
  13. 22 Feb, 2018 1 commit
  14. 13 Oct, 2017 1 commit
  15. 12 Jun, 2017 1 commit
  16. 25 Feb, 2017 1 commit
  17. 11 Feb, 2017 1 commit
  18. 17 Jan, 2017 1 commit
    • re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) · 3c36aa6b
      	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
      Jakub Jelinek committed
  19. 13 Jan, 2017 1 commit
  20. 21 Nov, 2016 1 commit
    • Don't define libstdc++-internal macros in Solaris 10+ <math.h> · 3115f94f
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Update comments.
      	(__CORRECT_ISO_CPP11_MATH_H_PROTO): Rename to ...
      	(__CORRECT_ISO_CPP11_MATH_H_PROTO_FP): ... this.
      	Add test for C++11 <math.h> integral overloads.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      	* include/c_global/cmath [__cplusplus >= 201103L]: Reflect
      	__CORRECT_ISO_CPP11_MATH_H_PROTO to
      	__CORRECT_ISO_CPP11_MATH_H_PROTO_FP rename.
      	* include/c_global/cmath [_GLIBCXX_USE_C99_MATH &&
      	!_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC && __cplusplus >= 201103L]
      	(std::fpclassify): Wrap in !__CORRECT_ISO_CPP11_MATH_H_PROTO_INT.
      	(std::isfinite): Likewise.
      	(std::isinf): Likewise.
      	(std::isnan): Likewise.
      	(std::isnormal): Likewise.
      	(std::signbit): Likewise.
      	(std::isgreater): Likewise.
      	(std::isgreaterequal): Likewise.
      	(std::isless): Likewise.
      	(std::islessequal): Likewise.
      	(std::islessgreater): Likewise.
      	(std::isunordered): Likewise.
      	[__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]
      	(std::acosh): Likewise.
      	(std::asinh): Likewise.
      	(std::atanh): Likewise.
      	(std::cbrt): Likewise.
      	(std::copysign): Likewise.
      	(std::erf): Likewise.
      	(std::erfc): Likewise.
      	(std::exp2): Likewise.
      	(std::expm1): Likewise.
      	(std::fdim): Likewise.
      	(std::fma): Likewise.
      	(std::fmax): Likewise.
      	(std::fmin): Likewise.
      	(std::hypot): Likewise.
      	(std::ilogb): Likewise.
      	(std::lgamma): Likewise.
      	(std::llrint): Likewise.
      	(std::llround): Likewise.
      	(std::log1p): Likewise.
      	(std::log2): Likewise.
      	(std::logb): Likewise.
      	(std::lrint): Likewise.
      	(std::lround): Likewise.
      	(std::nearbyint): Likewise.
      	(std::nextafter): Likewise.
      	(std::nexttoward): Likewise.
      	(std::remainder): Likewise.
      	(std::remquo): Likewise.
      	(std::rint): Likewise.
      	(std::round): Likewise.
      	(std::scalbln): Likewise.
      	(std::scalbn): Likewise.
      	(std::tgamma): Likewise.
      	(std::trunc): Likewise.
      	* include/tr1/cmath [_GLIBCXX_USE_C99_MATH_TR1 && __cplusplus >=
      	201103L]: Reflect __CORRECT_ISO_CPP11_MATH_H_PROTO to
      	__CORRECT_ISO_CPP11_MATH_H_PROTO_FP rename.
      
      	fixincludes:
      	* inclhack.def (solaris_math_12): New fix.
      	(hpux11_fabsf): Replace bypass by *-hp-hpux11* mach selector.
      	* fixincl.x: Regenerate.
      	* tests/base/math.h [SOLARIS_MATH_12_CHECK]: New test.
      
      From-SVN: r242671
      Rainer Orth committed
  21. 20 Nov, 2016 1 commit
    • Fix libsanitizer build on OS X 10.1[01], macOS 10.12 (PR sanitizer/78267) · 97448adf
      	fixincludes:
      	PR sanitizer/78267
      	* inclhack.def (darwin_availabilityinternal, darwin_os_trace_1)
      	(darwin_os_trace_2, darwin_os_trace_3): New fixes.
      	(hpux_stdint_least_fast): Remove spurious _EOFix_.
      	* fixincl.x: Regenerate.
      	* tests/bases/AvailabilityInternal.h: New file.
      	* tests/bases/os/trace.h: New file.
      
      2016-11-20  Jack Howarth  <howarth.at.gcc@gmail.com>
      
      	libsanitizer:
      	PR sanitizer/78267
      	* sanitizer_common/sanitizer_mac.cc: Include <os/trace.h> only if
      	compiler supports blocks extension.
      
      From-SVN: r242633
      Rainer Orth committed
  22. 30 Sep, 2016 1 commit
    • check.tpl: Convert line endings to unix on test outputs · 716028e4
      2016-09-30  Tadek Kijkowski  <tkijkowski@gmail.com>
      
      	* check.tpl: Convert line endings to unix on test outputs
      	* fixfixes.c: Fixed passing file name to apply_fix when
      	SEPARATE_FIX_PROC is defined
      	* fixincl.c: Use system_with_shell, fixes for MinGW and DJGPP
      	* fixlib.c, fixlib.h: Added system_with_shell and fix_path_separators
      
      From-SVN: r240664
      Tadek Kijkowski committed
  23. 04 Sep, 2016 1 commit
  24. 13 Aug, 2016 1 commit
  25. 09 Aug, 2016 1 commit
  26. 02 Aug, 2016 1 commit
  27. 21 Jun, 2016 1 commit
    • remove support for the interix target · ee2499b4
      contrib/ChangeLog:
      
      2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config-list.mk: Remove interix target.
      
      libgcc/ChangeLog:
      
      2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config.host: Remove interix support.
      	* config/i386/t-interix: Remove.
      
      config/ChangeLog:
      
      2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* elf.m4: Remove interix support.
      	* picflag.m4: Likewise.
      
      fixincludes/ChangeLog:
      
      2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* mkfixinc.sh: Remove interix support.
      
      gcc/ChangeLog:
      
      2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* config.gcc: Remove interix support.
      	* config/i386/i386-interix.h: Remove.
      	* config/i386/interix.opt: Remove.
      	* config/i386/t-interix: Remove.
      	* configure: Regenerate.
      	* configure.ac: Remove interix support.
      	* doc/install.texi: Remove interix documentation.
      
      gcc/testsuite/ChangeLog:
      
      2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* gcc.dg/attr-ms_struct-1.c: Stop testing interix.
      	* gcc.dg/attr-ms_struct-2.c: Likewise.
      	* gcc.dg/attr-ms_struct-packed1.c: Likewise.
      	* gcc.dg/bf-ms-attrib.c: Likewise.
      	* gcc.dg/bf-ms-layout-2.c: Likewise.
      	* gcc.dg/bf-ms-layout-3.c: Likewise.
      	* gcc.dg/bf-ms-layout.c: Likewise.
      	* gcc.dg/bf-no-ms-layout.c: Likewise.
      	* gcc.target/i386/bitfield1.c: Likewise.
      	* gcc.target/i386/bitfield2.c: Likewise.
      	* gcc.target/i386/bitfield3.c: Likewise.
      
      From-SVN: r237660
      Trevor Saunders committed
  28. 13 Jun, 2016 1 commit
    • inclhack.def (aix_stdlib_malloc): New fix. · d4f076c9
      * inclhack.def (aix_stdlib_malloc): New fix.
      (aix_stdlib_realloc): New fix.
      (aix_stdlib_calloc): New fix.
      (aix_stdlib_valloc): New fix.
      * fixincl.x: Regenerate.
      * test/base/stdlib.h [AIX_STDLIB_MALLOC]: New test.
      [AIX_STDLIB_REALLOC]: New test.
      [AIX_STDLIB_CALLOC]: New test.
      [AIX_STDLIB_VALLOC]: New test.
      
      From-SVN: r237394
      David Edelsohn committed
  29. 01 Feb, 2016 1 commit
  30. 14 Aug, 2015 1 commit
  31. 28 Jul, 2015 1 commit
  32. 21 May, 2015 1 commit
    • inclhack.def (aix_externc): New fix. · 9846edff
      	* inclhack.def (aix_externc): New fix.
      	(aix_externcpp[12]): New fix.
      	* fixincl.x: Regenerate.
      	* test/base/ctype.h [AIX_EXTERNC_CHECK]: New test.
      	* test/base/sys/socket.h [AIX_EXTERNCPP[12]_CHECK]: New test.
      	* test/base/fcntl.h: New file.
      
      From-SVN: r223497
      David Edelsohn committed
  33. 13 May, 2015 1 commit
  34. 22 Apr, 2015 1 commit
  35. 28 Mar, 2015 1 commit
  36. 17 Feb, 2015 1 commit
  37. 16 Feb, 2015 1 commit
    • Daniel Richard G. · 266c722f
      Daniel Richard G. <skunk@iskunk.org>
              PR bootstrap/48009
              PR bootstrap/53348
              * inclhack.def (aix_strtof_const): New fix.
              * fixincl.x: Regenerate.
              * tests/base/inttypes.h: New test.
      
      From-SVN: r220736
      Daniel Richard G committed
  38. 10 Feb, 2015 1 commit