1. 13 Feb, 2017 1 commit
    • isl.m4: Remove support for ISL 0.14. · f877b3ad
      2017-02-13  Richard Biener  <rguenther@suse.de>
      
      	config/
      	* isl.m4: Remove support for ISL 0.14.
      
      	* configure: Re-generate.
      
      	gcc/
      	* configure.ac (HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS):
      	Remove.
      	* configure: Re-generate.
      	* config.in: Likewise.
      	* graphite-dependences.c: Simplify as if
      	HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS was defined.
      	* graphite-isl-ast-to-gimple.c: Likewise.
      	* graphite-optimize-isl.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.h: Likewise.
      	* toplev.c: Include isl/version.h and use isl_version () for
      	printing the ISL version.
      	* doc/install.texi: Update ISL requirement.
      
      From-SVN: r245382
      Richard Biener committed
  2. 26 Jan, 2017 2 commits
  3. 19 Jan, 2017 1 commit
    • re PR target/78478 (Compile Error for i386-rtems) · 7b32a8f6
      	PR target/78478
      	* config/ax_check_define.m4: New file.
      
      libgfortran/ChangeLog:
      
      	PR target/78478
      	* acinclude.m4: Include ../config/ax_check_define.m4
      	* configure.ac: Check if _SOFT_FLOAT is defined.
      	* configure.host (i?86 | x86_64): Use fpu-generic when
      	have_soft_float is set.
      	* configure: Regenerate.
      
      From-SVN: r244651
      Uros Bizjak committed
  4. 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
  5. 06 Jan, 2017 1 commit
    • Build libgo with -Wa,-nH if possible (PR go/78978) [non-libgo parts] · 1ec62aa9
      	libstdc++-v3:
      	PR go/78978
      	* acinclude.m4 (GLIBCXX_CHECK_ASSEMBLER_HWCAP): Remove.
      	* configure.ac: Call GCC_CHECK_ASSEMBLER_HWCAP instead of
      	GLIBCXX_CHECK_ASSEMBLER_HWCAP.
      	* fragment.am (CONFIG_CXXFLAGS): Use HWCAP_CFLAGS instead of
      	HWCAP_FLAGS.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in, 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++98/Makefile.in,
      	src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
      
      	config:
      	PR go/78978
      	* hwcaps.m4 (GCC_CHECK_ASSEMBLER_HWCAP): New macro.
      
      From-SVN: r244162
      Rainer Orth committed
  6. 04 Jan, 2017 1 commit
    • Update configure deps, remove stray \xA0 in picflag.m4, regenerate · 8f56cb51
      Also fix a stray changelog entry.  Some of the regen here is due to
      previous changes not being regenerated properly, in part due to the
      missing configure dependencies.
      
      	* configure: Regenerate.
      config/
      	* picflag.m4: Remove stray \xA0 in comment.
      gcc/
      	* Makefile.in (aclocal_deps): Update and order as per aclocal.m4.
      	* configure: Regenerate.
      	* config.in: Regenerate.
      libada/
      	* Makefile.in (configure_deps): Update and order as per
      	configure.ac sinclude.
      	* configure: Regenerate.
      libgcc/
      	* Makefile.in (configure_deps): Update.
      	* configure: Regenerate.
      libiberty/
      	* Makefile.in (configure_deps): Update.
      	* configure: Regenerate.
      libitm/
      	* Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      From-SVN: r244049
      Alan Modra committed
  7. 12 Dec, 2016 1 commit
    • Disable hwcaps on libgfortran · 66dbcf2d
      	libgfortran:
      	* configure.ac: Call GCC_CHECK_LINKER_HWCAP.
      	* Makefile.am (libgfortran_la_LDFLAGS): Add HWCAP_LDFLAGS.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      	config:
      	* hwcaps.m4: New file.
      
      	libitm:
      	* acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Remove.
      	* aclocal.m4: Regenerate.
      	* configure.ac: Call GCC_CHECK_LINKER_HWCAP instead of
      	LIBITM_CHECK_LINKER_HWCAP.
      
      From-SVN: r243552
      Rainer Orth committed
  8. 07 Dec, 2016 1 commit
  9. 02 Dec, 2016 1 commit
    • Add support for ASan odr_indicator. · 84b0769e
      config/
      
              * bootstrap-asan.mk: Replace LSAN_OPTIONS=detect_leaks=0 with
              ASAN_OPTIONS=detect_leaks=0:use_odr_indicator=1.
      
      gcc/
      
              * asan.c (asan_global_struct): Refactor.
              (create_odr_indicator): New function.
              (asan_needs_odr_indicator_p): Likewise.
              (is_odr_indicator): Likewise.
              (asan_add_global): Introduce odr_indicator_ptr. Pass it into global's
              constructor.
              (asan_protect_global): Do not protect odr indicators.
      
      gcc/c-family/
      
      	* c-attribs.c (asan odr indicator): New attribute.
      	(handle_asan_odr_indicator_attribute): New function.
      
      gcc/testsuite/
      
              * c-c++-common/asan/no-redundant-odr-indicators-1.c: New test.
      
      From-SVN: r243153
      Maxim Ostapenko committed
  10. 01 Dec, 2016 2 commits
  11. 30 Nov, 2016 1 commit
    • Makefile.def: Remove reference to boehm-gc target module. · 114bf3f1
      <toplevel>
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * Makefile.def: Remove reference to boehm-gc target module.
              * configure.ac: Include pkg.m4, check for --with-target-bdw-gc
              options and for the bdw-gc pkg-config module.
              * configure: Regenerate.
              * Makefile.in: Regenerate.
      
      gcc/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * doc/install.texi: Document configure options --enable-objc-gc
              and --with-target-bdw-gc.
      
      config/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * pkg.m4: New file.
      
      libobjc/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              * configure.ac (--enable-objc-gc): Allow to configure with a
              system provided boehm-gc.
              * configure: Regenerate.
              * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
              * gc.c: Include system bdw-gc headers.
              * memory.c: Likewise
              * objects.c: Likewise
      
      boehm-gc/
      
      2016-11-30  Matthias Klose  <doko@ubuntu.com>
      
              Remove
      
      From-SVN: r242985
      Matthias Klose committed
  12. 15 Nov, 2016 1 commit
    • config-ml.in: Remove references to GCJ. · 84c1b9d3
      <toplevel>
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	* config-ml.in: Remove references to GCJ.
      	* configure.ac: Likewise.
      	* configure: Regenerate.
      
      config/
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	multi.m4: Don't set GCJ.
      
      gcc/
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	* doc/install.texi: Remove references to gcj/libjava.
      	* doc/invoke.texi: Likewise.
      
      */ (where necessary)
      
      2016-11-15  Matthias Klose  <doko@ubuntu.com>
      
      	* configure: Regenerate.
      
      From-SVN: r242433
      Matthias Klose committed
  13. 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
  14. 30 Apr, 2016 1 commit
    • config.guess: Remove SH5 support. · bc6d9014
      /
      	* config.guess:  Remove SH5 support.
      	* config.sub: Likewise.
      	* configure: Likewise.
      	* configure.ac: Likewise.
      
      config/
      	* picflag.m4:  Remove SH5 support.
      
      gcc/
      	* config/sh/t-sh: Remove SH5 support.
      	* config.gcc: Likewise.
      	* configure: Likewise.
      
      contrib/
      	* compare-all-tests: Remove SH5 support.
      	* config-list.mk: Likewise.
      
      libada/
      	* configure: Remove SH5 support.
      
      libgcc/
      	* config.host: Remove SH5 support.
      	* configure: Likewise.
      
      libiberty/
      	* configure: Remove SH5 support.
      
      libjava/
      	* classpath/config.guess: Remove SH5 support.
      	* classpath/config.sub: Likewise.
      
      From-SVN: r235676
      Oleg Endo committed
  15. 29 Jan, 2016 1 commit
  16. 26 Jan, 2016 1 commit
    • fix PR68343: disable fuse-*.c tests for isl 0.14 or earlier · 1e050c90
      The patch disables all fuse-*.c tests when configuring gcc with isl 0.14 or earlier.
      
      ChangeLog:
      
      	* Makefile.in: Regenerate.
      	* Makefile.tpl: Export ISLVER.
      	* configure: Regenerate.
      	* config/isl.m4: Detect isl-0.15.
      
      gcc/
      
      	* Makefile.in: Set ISLVER in site.exp.
      
      gcc/testsuite/
      
      	* gcc.dg/graphite/graphite.exp: Only run the fuse-*.c tests with isl-0.15.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r232811
      Aditya Kumar committed
  17. 17 Dec, 2015 2 commits
  18. 16 Dec, 2015 1 commit
    • update required isl version · 560d18d3
      we check for a the isl compute timeout function added in isl 0.13.
      That means GCC could still be configured with isl 0.13, 0.14, and 0.15.
      
      	* config/isl.m4 (ISL_CHECK_VERSION): Check for
      	isl_ctx_get_max_operations.
      	* configure: Regenerate.
      
      	gcc/
      	* config.in: Regenerate.
      	* configure: Regenerate.
      	* configure.ac: Remove checks for functions that exist in isl 0.13 or
      	later.
      	* graphite-isl-ast-to-gimple.c: Remove #ifdefs and code for isl 0.12.
              * graphite-optimize-isl.c: Same.
      	* graphite-poly.c: Same.
      	* graphite-sese-to-poly.c: Same.
      	* graphite.h: Add comment for isl 0.14.
      	* toplev.c (print_version): Print isl version.
      
      Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
      
      From-SVN: r231706
      Aditya Kumar committed
  19. 21 Oct, 2015 1 commit
    • libsanitizer merge from upstream r250806, compiler part. · 89e302b8
      gcc/
      
      	* asan.c (asan_emit_stack_protection): Don't pass local stack to
      	asan_stack_malloc_[n] anymore. Check if asan_stack_malloc_[n] returned
      	NULL and use local stack than.
      	(asan_finish_file): Insert __asan_version_mismatch_check_v[n] call
      	in addition to __asan_init.
      	* sanitizer.def (BUILT_IN_ASAN_INIT): Rename to __asan_init.
      	(BUILT_IN_ASAN_VERSION_MISMATCH_CHECK): Add new builtin call.
      	* asan.h (asan_intercepted_p): Handle new string builtins.
      	* ubsan.c (ubsan_use_new_style_p): New function.
      	(ubsan_instrument_float_cast): If location is unknown, assign
      	input_location to loc. Propagate loc to ubsan_create_data if
      	ubsan_use_new_style_p returned true.
      
      config/
      
      	* bootstrap-asan.mk: Replace ASAN_OPTIONS=detect_leaks with
      	LSAN_OPTIONS=detect_leaks.
      
      gcc/testsuite/
      
      	* c-c++-common/ubsan/float-cast-overflow-10.c: Adjust test.
      	* c-c++-common/ubsan/float-cast-overflow-8.c: Likewise.
      	* c-c++-common/ubsan/float-cast-overflow-9.c: Likewise.
      	* g++.dg/asan/default-options-1.C: Likewise.
      
      From-SVN: r229112
      Max Ostapenko committed
  20. 24 Aug, 2015 1 commit
    • Missing parts of fixes for in-tree libiconv · d4859822
      (The previous iconv-related commit missed the config/iconv.m4 change.)
      
      Original description:
      
      This is the second in a series of patches to make a build with an
      in-tree GNU libiconv work as designed.
      
      Currently GDB is the only toolchain component which actually uses an
      in-tree libiconv.  This patch modifies the common AM_ICONV to use an
      in-tree libiconv when present and not already provided by libc.
      (GDB's workaround uses an in-tree libiconv even when libc provides
      iconv(3); I'm not sure when or why that would be desirable.)
      
      config/ChangeLog:
      2015-08-24  Yaakov Selkowitz  <yselkowi@redhat.com>
      
      	* iconv.m4 (AM_ICONV_LINK): Use in-tree libiconv when present.
      ---
       config/ChangeLog   |  4 +++
       config/iconv.m4    | 47 +++++++++++++++++++++------
       4 files changed, 112 insertions(+), 36 deletions(-)
      
      diff --git a/config/iconv.m4 b/config/iconv.m4
      index c5f3579..5f9304a 100644
      --- a/config/iconv.m4
      +++ b/config/iconv.m4
      @@ -7,6 +7,7 @@ dnl that contains a configuration script generated by Autoconf, under
       dnl the same distribution terms as the rest of that program.
       
       dnl From Bruno Haible.
      +dnl with modifications to support building with in-tree libiconv
       
       AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
       [
      @@ -28,24 +29,51 @@ AC_DEFUN([AM_ICONV_LINK],
         dnl accordingly.
         AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
       
      -  dnl Add $INCICONV to CPPFLAGS before performing the following checks,
      -  dnl because if the user has installed libiconv and not disabled its use
      -  dnl via --without-libiconv-prefix, he wants to use it. The first
      -  dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
      -  am_save_CPPFLAGS="$CPPFLAGS"
      -  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
      -
         AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
           am_cv_func_iconv="no, consider installing GNU libiconv"
           am_cv_lib_iconv=no
      +    dnl Add $INCICONV to CPPFLAGS before performing the first check,
      +    dnl because if the user has installed libiconv and not disabled its use
      +    dnl via --without-libiconv-prefix, he wants to use it. This first
      +    dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
      +    am_save_CPPFLAGS="$CPPFLAGS"
      +    CPPFLAGS="$CPPFLAGS $INCICONV"
           AC_TRY_LINK([#include <stdlib.h>
       #include <iconv.h>],
             [iconv_t cd = iconv_open("","");
              iconv(cd,NULL,NULL,NULL,NULL);
              iconv_close(cd);],
             am_cv_func_iconv=yes)
      +    CPPFLAGS="$am_save_CPPFLAGS"
      +
      +    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
      +      for _libs in .libs _libs; do
      +        am_save_CPPFLAGS="$CPPFLAGS"
      +        am_save_LIBS="$LIBS"
      +        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
      +        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
      +        AC_TRY_LINK([#include <stdlib.h>
      +#include <iconv.h>],
      +          [iconv_t cd = iconv_open("","");
      +           iconv(cd,NULL,NULL,NULL,NULL);
      +           iconv_close(cd);],
      +          INCICONV="-I../libiconv/include"
      +          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
      +          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
      +          am_cv_lib_iconv=yes
      +          am_cv_func_iconv=yes)
      +        CPPFLAGS="$am_save_CPPFLAGS"
      +        LIBS="$am_save_LIBS"
      +        if test "$am_cv_func_iconv" = "yes"; then
      +          break
      +        fi
      +      done
      +    fi
      +
           if test "$am_cv_func_iconv" != yes; then
      +      am_save_CPPFLAGS="$CPPFLAGS"
             am_save_LIBS="$LIBS"
      +      CPPFLAGS="$LIBS $INCICONV"
             LIBS="$LIBS $LIBICONV"
             AC_TRY_LINK([#include <stdlib.h>
       #include <iconv.h>],
      @@ -54,6 +82,7 @@ AC_DEFUN([AM_ICONV_LINK],
                iconv_close(cd);],
               am_cv_lib_iconv=yes
               am_cv_func_iconv=yes)
      +      CPPFLAGS="$am_save_CPPFLAGS"
             LIBS="$am_save_LIBS"
           fi
         ])
      @@ -61,12 +90,10 @@ AC_DEFUN([AM_ICONV_LINK],
           AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
         fi
         if test "$am_cv_lib_iconv" = yes; then
      +    AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
           AC_MSG_CHECKING([how to link with libiconv])
           AC_MSG_RESULT([$LIBICONV])
         else
      -    dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
      -    dnl either.
      -    CPPFLAGS="$am_save_CPPFLAGS"
           LIBICONV=
           LTLIBICONV=
         fi
      -- 
      1.9.3
      
      From-SVN: r227118
      Yaakov Selkowitz committed
  21. 24 Jul, 2015 1 commit
    • re PR other/66259 (Combined gcc and binutils build from git-master fails, with… · 6b1786aa
      re PR other/66259 (Combined gcc and binutils build from git-master fails, with gas/as-new not existing)
      
      	PR other/66259
      	* config-ml.in: Reflects renaming of configure.in to configure.ac
      	* configure: Likewise
      	* configure.ac: Likewise
      
      boehm-gc/
      
      	PR other/66259
      	* Makefile.direct: Reflects renaming of configure.in to configure.ac
      	* Makefile.dist: Likewise
      	* version.h: Likewise
      	* doc/README: Likewise
      
      config/
      
      	PR other/66259
      	* gettext.m4: Reflects renaming of configure.in to configure.ac
      	* po.m4: Likewise
      	* stdint.m4: Likewise
      	* tcl.m4: Likewise
      
      gcc/
      
      	PR other/66259
      	* acinclude.m4: Reflects renaming of configure.in to configure.ac
      	* configure: Likewise
      	* configure.ac: Likewise
      	* doc/install.texi: Likewise
      	* doc/tm.texi: Likewise
      	* doc/tm.texi.in: Likewise
      
      gcc/ada/
      
      	PR other/66259
      	* prj-nmsc.adb: Reflects renaming of configure.in to configure.ac
      	* gcc-interface/Makefile.in: Likewise
      
      intl/
      
      	PR other/66259
      	* configure: Reflects renaming of configure.in to configure.ac
      
      libjava/
      
      	PR other/66259
      	* configure: Reflects renaming of configure.in to configure.ac
      
      libjava/classpath
      
      	PR other/66259
      	* INSTALL: Reflects renaming of configure.in to configure.ac
      	* ltconfig: Likewise
      	* missing: Likewise
      	* m4/ac_prog_javac.m4: Likewise
      	* m4/ac_prog/javac_works.m4: Likewise
      	* resource/META-INF/mimetypes.default: Likewise
      
      libjava/libltdl
      
      	PR other/66259
      	* THREADS: Reflects renaming of configure.in to configure.ac
      
      liboffloadmic/
      
      	PR other/66259
      	* configure: Reflects renaming of configure.in to configure.ac
      
      From-SVN: r226183
      Jeff Law committed
  22. 14 Jul, 2015 1 commit
  23. 30 Jun, 2015 1 commit
    • IA MCU psABI support: changes to libraries · cb78b51c
      Patch in the bottom adds support of IA MCU psABI to libgcc (enables
      soft-fp) and libdecnumber (enables it for IA MCU).
      
      config/
      
      	* dfp.m4 (enable_decimal_float): Also set to yes for
      	i?86*-*-elfiamcu target.
      
      gcc/
      
      	* configure: Regenerated.
      
      libdecnumber/
      
      	* configure: Regenerated.
      
      libgcc/
      
      	* config.host: Support i[34567]86-*-elfiamcu target.
      	* config/t-softfp-sfdftf: New file.
      	* config/i386/32/t-iamcu: Likewise.
      	* configure: Regenerated.
      
      From-SVN: r225198
      H.J. Lu committed
  24. 27 May, 2015 2 commits
  25. 13 May, 2015 1 commit
    • sjlj.m4: New file. · 9b92a9f3
      config/
      	* sjlj.m4: New file.
      libgcc/
      	* configure.ac: Include config/sjlj.m4.
      	Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
      	* config.in: Regenerate.
      	* configure: Likewise.
      	* config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
      libjava/
      	* configure.ac: Include config/sjlj.m4.
      	Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
      	* include/config.h.in: Regenerate.
      	* configure: Likewise.
      	* exception.cc: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
      	* stacktrace.cc: Likewise.
      	* include/default-signal.h: Likewise.
      	* sysdep/i386/backtrace.h: Likewise.
      libobjc/
      	* configure.ac: Remove manual SJLJ check.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
      libstdc++-v3/
      	* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Delete.
      	* configure.ac: Remove GLIBCXX_ENABLE_SJLJ_EXCEPTIONS.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* libsupc++/eh_personality.cc: Replace _GLIBCXX_SJLJ_EXCEPTIONS by
      	__USING_SJLJ_EXCEPTIONS__.
      	* libsupc++/eh_throw.cc: Likewise.
      	* libsupc++/eh_ptr.cc: Likewise.
      	* doc/html/manual/appendix_porting.html: Remove
      	GLIBCXX_ENABLE_SJLJ_EXCEPTIONS
      	* doc/xml/manual/build_hacking.xml: Likewise.
      	* doc/html/manual/configure.html: Remove --enable-sjlj-exceptions.
      	* doc/xml/manual/configure.xml: Likewise.
      
      From-SVN: r223181
      Eric Botcazou committed
  26. 05 May, 2015 1 commit
    • Improve the test in bitfields.m4 · d6ed95fc
      Using a named bitfield with a width more than 0 means we won't hit
      weirdness caused by the bitfield not really needing to exist.  Changing
      int to long long means we won't have trouble with some arch where size
      of int is 1 or 2.
      
      libobjc/ChangeLog:
      
      2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* configure: Regenerate.
      
      config/ChangeLog:
      
      2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
      
      	* bitfields.m4: Change int to long long, and use bitfields of
      	width 1 instead of 0.
      
      From-SVN: r222794
      Trevor Saunders committed
  27. 02 May, 2015 2 commits
  28. 14 Apr, 2015 2 commits
  29. 10 Apr, 2015 1 commit
    • re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin;… · cacf1f59
      re PR target/65351 (libiberty's pic version contains non-pic code on m32 darwin; causes bootstrap fail building libcc1.)
      
      	PR target/65351
      config/
      	* mh-darwin: Only apply -mdynamic-no-pic for m32 Darwin when the compiler in
      	use supports -mno-dynamic-no-pic.
      	* picflag.m4: Only append -mno-dynamic-no-pic for Darwin when -mdynamic-no-pic
      	is present in CFLAGS.
      
      libiberty/
      	* configure: Regenerate.
      libada/
      	* configure: Regenerate.
      libgcc/
      	* configure: Regenerate.
      gcc/
      	* configure: Regenerate.
      
      
      Co-Authored-By: Iain Sandoe <iain@codesourcery.com>
      
      From-SVN: r221967
      Jakub Jelinek committed
  30. 07 Apr, 2015 1 commit
  31. 27 Mar, 2015 1 commit
  32. 25 Mar, 2015 1 commit
  33. 16 Mar, 2015 1 commit
  34. 25 Feb, 2015 1 commit
    • Revert: · 76fabbf4
      	2014-07-26  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/47230
      	* configure.ac (alpha*-*-linux*): Use mh-alpha-linux.
      	* configure: Regenerate.
      
      /config
      
      	Revert:
      	2014-07-26  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR target/47230
      	* mh-alpha-linux: New file.
      
      /gcc
      
      	PR target/47230
      	* doc/install.texi (Specific, alpha*-*-*): Document that binutils 2.25
      	or newer are required.
      
      From-SVN: r220990
      Uros Bizjak committed