1. 02 May, 2018 2 commits
    • [testsuite] Add scan-ltrans-tree-dump · 9220b511
      2018-05-02  Tom de Vries  <tom@codesourcery.com>
      
      	PR testsuite/85106
      	* gcc.dg/ipa/ipa-icf-38.c: Use scan-ltrans-tree-dump.
      	* lib/scanltranstree.exp: New file.
      	* lib/target-supports.exp (scan-ltrans-tree-dump_required_options)
      	(scan-ltrans-tree-dump-times_required_options)
      	(scan-ltrans-tree-dump-not_required_options)
      	(scan-ltrans-tree-dump-dem_required_options)
      	(scan-ltrans-tree-dump-dem-not_required_options): New proc.
      	* lib/gcc-dg.exp: Include scanltranstree.exp.
      
      	* testsuite/lib/libatomic.exp: Include scanltranstree.exp.
      
      	* testsuite/lib/libgomp.exp: Include scanltranstree.exp.
      
      	* testsuite/lib/libitm.exp: Include scanltranstree.exp.
      
      	* testsuite/lib/libvtv.exp: Include scanltranstree.exp.
      
      	* doc/sourcebuild.texi (Commands for use in dg-final, Scan optimization
      	dump files): Add ltrans-tree.
      
      From-SVN: r259838
      Tom de Vries committed
    • [testsuite] Add scan-wpa-ipa-dump · 6c3c13c1
      2018-05-02  Tom de Vries  <tom@codesourcery.com>
      
      	PR testsuite/85106
      	* gcc.dg/ipa/ipa-icf-38.c: New test.
      	* gcc.dg/ipa/ipa-icf-38a.c: New test.
      	* lib/scandump.exp (dump-base): New proc.
      	(scan-dump, scan-dump-times, scan-dump-not, scan-dump-dem)
      	(scan-dump-dem-not): Add and handle parameter for suffix of the dump
      	base.
      	* lib/scanipa.exp: Add "" argument to scan-dump calls.
      	* lib/scanlang.exp: Same.
      	* lib/scanrtl.exp: Same.
      	* lib/scantree.exp: Same.
      	* lib/scanwpaipa.exp: New file.
      	* lib/gcc-dg.exp: Include scanwpaipa.exp.
      
      	* testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
      
      	* testsuite/lib/libgomp.exp: Include scanwpaipa.exp.
      
      	* testsuite/lib/libitm.exp: Include scanwpaipa.exp.
      
      	* testsuite/lib/libvtv.exp: Include scanwpaipa.exp.
      
      	* doc/sourcebuild.texi (Commands for use in dg-final, Scan optimization
      	dump files): Add wpa-ipa.
      
      From-SVN: r259837
      Tom de Vries committed
  2. 24 Apr, 2018 1 commit
  3. 19 Apr, 2018 1 commit
  4. 18 Apr, 2018 1 commit
  5. 19 Feb, 2018 1 commit
    • CET shouldn't be enabled in 32-bit run-time libraries by defualt · 14e335ed
      ENDBR32 and RDSSPD are multi-byte NOPs on x86-64 processors and
      newer x86 processors, starting Pentium Pro.  They are UD on older
      32-bit processors. Detect this at configure time and adjust the
      default value for enable_cet. GCC will enable CET in 32-bit run-time
      libraries in any case if --enable-cet is used to configure GCC.
      
      	PR target/84148
      	* config/cet.m4: Check if target support multi-byte NOPS (SSE).
      	* libatomic/configure: Regenerate.
      	* libbacktrace/configure: Likewise.
      	* libgcc/configure: Likewise.
      	* libgfortran/configure: Likewise.
      	* libgomp/configure: Likewise.
      	* libitm/configure: Likewise.
      	* libmpx/configure: Likewise.
      	* libobjc/configure: Likewise.
      	* libquadmath/configure: Likewise.
      	* libsanitizer/configure: Likewise.
      	* libssp/configure: Likewise.
      	* libstdc++-v3/configure: Likewise.
      	* libvtv/configure: Likewise.
      
      From-SVN: r257809
      Igor Tsimbalist committed
  6. 03 Jan, 2018 1 commit
  7. 17 Nov, 2017 1 commit
  8. 21 Jan, 2017 1 commit
    • re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) · 73aa401e
      	PR other/79046
      libatomic/
      	* testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
      	of cat to get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      libffi/
      	* configure.ac: Add GCC_BASE_VER.
      	* include/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
      	of cat to get version from BASE-VER file.
      	* configure: Regenerated.
      	* testsuite/Makefile.in: Regenerated.
      	* include/Makefile.in: Regenerated.
      	* Makefile.in: Regenerated.
      	* man/Makefile.in: Regenerated.
      libgomp/
      	* testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
      	of cat to get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      libitm/
      	* testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
      	of cat to get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      libmpx/
      	* mpxrt/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
      	of cat to get version from BASE-VER file.
      	* mpxwrap/Makefile.am (gcc_version): Likewise.
      	* mpxrt/Makefile.in: Regenerated.
      	* mpxwrap/Makefile.in: Regenerated.
      liboffloadmic/
      	* plugin/configure.ac: Add GCC_BASE_VER.
      	* plugin/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
      	of cat to get version from BASE-VER file.
      	* plugin/configure: Regenerated.
      	* plugin/aclocal.m4: Regenerated.
      	* plugin/Makefile.in: Regenerated.
      libsanitizer/
      	* interception/Makefile.am (gcc_version): Use @get_gcc_base_ver@
      	instead of cat to get version from BASE-VER file.
      	* asan/Makefile.am (gcc_version): Likewise.
      	* ubsan/Makefile.am (gcc_version): Likewise.
      	* sanitizer_common/Makefile.am (gcc_version): Likewise.
      	* lsan/Makefile.am (gcc_version): Likewise.
      	* tsan/Makefile.am (gcc_version): Likewise.
      	* interception/Makefile.in: Regenerated.
      	* asan/Makefile.in: Regenerated.
      	* ubsan/Makefile.in: Regenerated.
      	* sanitizer_common/Makefile.in: Regenerated.
      	* lsan/Makefile.in: Regenerated.
      	* tsan/Makefile.in: Regenerated.
      libvtv/
      	* testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
      	of cat to get version from BASE-VER file.
      	* testsuite/Makefile.in: Regenerated.
      
      From-SVN: r244742
      Jakub Jelinek committed
  9. 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
  10. 04 Jan, 2017 1 commit
  11. 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
  12. 02 May, 2016 1 commit
  13. 02 Dec, 2015 1 commit
  14. 25 Nov, 2015 1 commit
    • Port libvtv to Solaris · e5ef217c
      	libstdc++-v3:
      	* acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY) <solaris2*>: Use
      	-Wl,-R in VTV_CXXLINKFLAGS.
      	* configure: Regenerate.
      
      	* testsuite/18_support/bad_exception/23591_thread-1.c: Use
      	-fvtable-verify=none on Solaris 12+.
      
      	libgcc:
      	* Makefile.in (VTV_CFLAGS): New variable.
      	(vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
      	(vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
      	* config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
      	Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
      	to extra_parts if $enable_vtable_verify = yes.
      
      	libvtv:
      	* configure.tgt (*-*-solaris2.[1-9]*): Declare supported.
      	* configure.ac: Call AC_USE_SYSTEM_EXTENSIONS.
      	<*-*-solaris2*>: Check for init priority support.
      	Check for getexecname, __fortify_fail, _obstack_begin.
      	(VTV_NO_OBSTACK): New conditional.
      	* configure: Regenerate.
      	* Makefile.am [VTV_NO_OBSTACK] (obstack.c): Use new condition.
      	Create empty config.h
      	* Makefile.in: Regenerate.
      
      	* vtv_rts.cc [HAVE_GETEXECNAME] (program_invocation_name): New
      	variable.
      	(read_section_offset_and_length) [HAVE_GETEXECNAME]: Set it.
      	(dl_iterate_phdr_callback) [HAVE_GETEXECNAME]: Set it.
      
      	(__fortify_fail): Wrap in HAVE___FORTIFY_FAIL
      	[!HAVE___FORTIFY_FAIL]: Provide non-Cygwin implementation.
      
      	(read_section_offset_and_length): Assert sh_size >= VTV_PAGE_SIZE.
      	(iterate_modules): Fix typo.
      	Use VTV_PAGE_SIZE.
      	(dl_iterate_phdr_callback): Fix typo.
      	Use VTV_PAGE_SIZE.
      	(__VLTChangePermission): Fix typos.
      
      	include:
      	* vtv-change-permission.h (VTV_PAGE_SIZE) [__sun__ && __svr4__ &&
      	__sparc__]: Define.
      
      	gcc:
      	* config/sol2.h (SUPPORTS_INIT_PRIORITY): Move up.
      	(STARTFILE_VTV_SPEC, ENDFILE_VTV_SPEC): Define.
      	(STARTFILE_SPEC): Use %(startfile_vtv).
      	(ENDFILE_SPEC): Use %(endfile_vtv).
      	(SUBTARGET_EXTRA_SPECS): Handle STARTFILE_VTV_SPEC,
      	ENDFILE_VTV_SPEC.
      
      	* gcc.c (LINK_COMMAND_SPEC): Move VTABLE_VERIFICATION_SPEC after %{L*}.
      
      From-SVN: r230865
      Rainer Orth committed
  15. 09 Nov, 2015 1 commit
    • Correct libvtv obstack use · 37697711
      Fixes a compile error with both old and new obstacks due to
      obstack_chunk_free having the wrong signature.  Also, setting chunk
      size and alignment before obstack_init is pointless since they are
      overwritten.
      
      	* vtv_malloc.cc (obstack_chunk_free): Correct param type.
      	(__vtv_malloc_init): Use obstack_specify_allocation.
      
      From-SVN: r229985
      Alan Modra committed
  16. 20 Oct, 2015 1 commit
  17. 09 Oct, 2015 1 commit
    • Testsuite: add dg-{begin|end}-multiline-output commands · 9e531d37
      This patch adds an easy way to write tests for expected multiline
      output.  For example we can test carets and underlines for
      a particular diagnostic with:
      
      /* { dg-begin-multiline-output "" }
       typedef struct _GMutex GMutex;
                      ^~~~~~~
         { dg-end-multiline-output "" } */
      
      multiline.exp is used by prune.exp; hence we need to load it before
      prune.exp via *load_gcc_lib* for the testsuites of the various
      non-"gcc" support libraries (e.g. boehm-gc).
      
      gcc/testsuite/ChangeLog:
      	* lib/multiline.exp: New file.
      	* lib/prune.exp: Load multiline.exp.
      	(prune_gcc_output): Call into multiline.exp to handle any
      	multiline output directives.
      	* lib/libgo.exp: Load multiline.exp before prune.exp, using
      	load_gcc_lib.
      
      boehm-gc/ChangeLog:
      	* testsuite/lib/boehm-gc.exp: Load multiline.exp before
      	prune.exp, using load_gcc_lib.
      
      libatomic/ChangeLog:
      	* testsuite/lib/libatomic.exp: Load multiline.exp before
      	prune.exp, using load_gcc_lib.
      
      libgomp/ChangeLog:
      	* testsuite/lib/libgomp.exp: Load multiline.exp before prune.exp,
      	using load_gcc_lib.
      
      libitm/ChangeLog:
      	* testsuite/lib/libitm.exp: Load multiline.exp before prune.exp,
      	using load_gcc_lib.
      
      libvtv/ChangeLog:
      	* testsuite/lib/libvtv.exp: Load multiline.exp before prune.exp,
      	using load_gcc_lib.
      
      From-SVN: r228655
      David Malcolm committed
  18. 27 Aug, 2015 1 commit
  19. 02 Aug, 2015 1 commit
    • re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling… · b0cca5ec
      re PR bootstrap/66521 (xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc)
      
      Fix PR 66521
      
      libvtv/ChangeLog
      
      2015-08-01  Caroline Tice  <cmtice@google.com>
      
              PR 66521
              * Makefile.am: Update to match latest tree.
              * Makefile.in: Regenerate.
              * testsuite/lib/libvtv: Brought up to date.
              * vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
              function (old bug!).
              * vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
              initializations to work correctly with VTV_DEBUG defined.
      
      gcc/ChangeLog:
      
      2015-08-01  Caroline Tice  <cmtice@google.com>
      
              PR 66521
              * vtable-verify.c (vtbl_mangled_name_types, vtbl_mangled_name_ids): New
              global variables.
              (vtbl_find_mangled_name):  New function.
              (vtbl_register_mangled_name):  New function.
              (vtbl_map_get_node):  If DECL_ASSEMBLER_NAME is "<anon>", look up
              mangled name in mangled name vectors.
              (find_or_create_vtbl_map_node):  Ditto.
              (var_is_used_for_virtual_call_p):  Add recursion_depth parameter;
              update recursion_depth on function entry; pass it to every recursive
              call; automatically exit if depth > 25 (give up looking at that point).
              (verify_bb_vtables):  Initialize recursion_depth and pass it to
              var_is_used_for_virtual_call_p.
              * vtable-verify.h (vtbl_mangbled_name_types, vtbl_mangled_name_ids): New
              global variable decls.
              (vtbl_register_mangled_name): New extern function decl.
      
      gcc/cp/ChangeLog:
      2015-08-01  Caroline Tice  <cmtice@google.com>
      
              PR 66521
              * mangle.c : Add vtable-verify.h to include files.
              (get_mangled_vtable_map_var_name):  If the DECL_ASSEMBLER_NAME
              is "<anon>" get the real mangled name for the class instead, and
              also store the real mangled name in a vector for use later.
      
      From-SVN: r226471
      Caroline Tice committed
  20. 13 May, 2015 1 commit
    • libvtv: Bump to automake 1.11.6 · 6cfc0812
      2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
      
      	* Makefile.in: Regenerated with automake-1.11.6.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* testsuite/Makefile.in: Likewise.
      	* testsuite/other-tests/Makefile.in: Likewise.
      
      From-SVN: r223149
      Michael Haubenwallner committed
  21. 09 Feb, 2015 1 commit
  22. 29 Jan, 2015 2 commits
    • Committing generated configure & Makefile.in pieces of VTV Cygwin patch (from Patrick Wollgast). · 8be349ee
      Committing generated configure & Makefile.in pieces of
      VTV Cygwin patch (from Patrick Wollgast).  Forgot to 
      commit these with the rest of the patch.
      
      From-SVN: r220254
      Caroline Tice committed
    • Committing VTV Cygwin patch for Patrick Wollgast · f7f049fa
      * gcc/config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
          if -fvtable-verify=preinit/std is used.
      * gcc/config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
      * gcc/config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
      * gcc/config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
          if -fvtable-verify=preinit/std is used.
      * gcc/config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
      * gcc/config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
          if -fvtable-verify=preinit/std is used.
      * gcc/config/i386/mingw-w64.h (LIB_SPEC): Likewise.
      * gcc/config/i386/mingw32.h (LIB_SPEC): Likewise.
      
      * gcc/cp/vtable-class-hierarchy.c (vtv_generate_init_routine): Add
          check for not TARGET_PECOFF at the VTV_PREINIT_PRIORITY checks.
      
      * gcc/varasm.c (assemble_variable): Add code to properly set the comdat
          section and name for the .vtable_map_vars section in case the
          target is PE or COFF.
      
      
      * libgcc/Makefile.in: Move rules to build vtv_*.o out of the check
          for CUSTOM_CRTSTUFF.
      * libgcc/config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*, i[34567]86-*-mingw*)
          (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if enable_vtable_verify.
      
      
      * libstdc++-v3/acinclude.m4: Define VTV_CYGMIN.
      * libstdc++-v3/configure: Regenerate.
      
      * libstdc++-v3/libsupc++/Makefile.am: Add vtv_sources only to
          libsupc___la_SOURCES and libsupc__convenience_la_SOURCES if VTV_CYGMIN is
          not set.
      * libstdc++-v3/libsupc++/Makefile.in: Regenerated.
      * libstdc++-v3/libsupc++/vtv_stubs.cc: Add none weak declaration of every
          function for Cygwin and MinGW.
      
      * libstdc++-v3/src/Makefile.am: Add libvtv.la to toolexeclib_LTLIBRARIES,
          if VTV_CYGMIN is set. Define libvtv_la_SOURCES, libvtv_la_LDFLAGS,
          libvtv_la_AM_CXXFLAGS and libvtv_la_LINK if VTV_CYGMIN is set.
      * libstdc++-v3/src/Makefile.in: Regenerate.
      
      
      * libvtv/Makefile.am : Add libvtv.la to toolexeclib_LTLIBRARIES, if VTV_CYGMIN
          is set. Define libvtv_la_LIBADD, libvtv_la_LDFLAGS, libvtv_stubs_la_LDFLAGS
          and libvtv_stubs_la_SOURCES if VTV_CYGMIN is set. Add obstac.c to
          libvtv_la_SOURCES if VTV_CYGMIN is set.
      * libvtv/Makefile.in : Regenerate.
      * libvtv/aclocal.m4 : Regenerate.
      * libvtv/configure : Regenerate.
      * libvtv/configure.ac : Add ACX_LT_HOST_FLAGS. Define VTV_CYGMIN.
      * libvtv/configure.tgt : (x86_64-*-cygwin*, i?86-*-cygwin*, x86_64-*-mingw*)
          (i?86-*-mingw*): Add to supported targets.
      * libvtv/vtv_fail.cc : Skip inclusion of execinfo.h on Cygwin and MinGW.
      (log_error_message): Skip calls to backtrace and backtrace_symbols_fd on Cygwin
          and MinGW.
      * libvtv/vtv_malloc.cc : Include windows.h and skip sys/mman.h inclusion on
          Cygwin and MinGW. Add sysconf port on Cygwin and MinGW.
      (obstack_chunk_alloc): Exchange call to mmap with call to VirtualAlloc on Cygwin
          and MinGW.
      (__vtv_malloc_init): Exchange call to sysconf with call to port of sysconf on
          Cygwin and MinGW.
      * libvtv/vtv_malloc.h : Declare mprotect and define PROT_READ and PROT_WRITE on
          Cygwin and MinGW.
      * libvtv/map.h : Include stdint.h on MinGW.
      * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip include of
          execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.
          Add port of __fortify_fail on Cygwin and MinGW.
          Change ElfW (Addr) to uintptr_t on Cygwin and MinGW.
      (read_section_offset_and_length): Add port for Cygwin and MinGW
      (iterate_modules): New function.
      (vtv_unprotect_vtable_vars): Use iterate_modules instead of dl_iterate_phdr on
          Cygwin and MinGW.
      (vtv_protect_vtable_vars): Likewise.
      (count_all_pages): Likewise.
      (dl_iterate_phdr_count_pages): Don't build on Cygwin and MinGW.
      * libvtv/utils.cc : Include windows.h and skip execinfo.h inclusion on
          Cygwin and MinGW.
      (__vtv_open_log): Exchange call to getuid and getpid with GetCurrentProcessId and
          adjust call to snprintf accordingly on Cygwin and MinGW.
          Adjust calls to mkdir on MinGW.
          Adjust call to open on Cygwin and MinGW.
      (__vtv_add_to_log): Adjust call to snprintf on Cygwin and MinGW.
      (__vtv_log_verification_failure): Don't generate a backtrace on Cygwin and MinGW.
      
      From-SVN: r220232
      Caroline Tice committed
  23. 12 Dec, 2014 1 commit
  24. 21 Nov, 2014 1 commit
    • Always use PIC option with -shared in libtool · a699d672
      Libtool needs to pass PIC option -shared when creating shared object to
      link regular object files with slim-lto archive.
      
      	PR bootstrap/63784
      	* libtool.m4: Add $pic_flag with -shared.
      
      boehm-gc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      gcc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libatomic/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libbacktrace/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libcc1/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libcilkrts/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libffi/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libgfortran/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libgomp/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libitm/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libjava/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libjava/classpath/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libobjc/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libquadmath/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libsanitizer/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libssp/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libstdc++-v3/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      libvtv/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      lto-plugin/
      
      	PR bootstrap/63784
      	* configure: Regenerated.
      
      From-SVN: r217937
      H.J. Lu committed
  25. 11 Nov, 2014 1 commit
    • re PR target/63610 (Fixing the libtool bug for Yosemite (darwin14)) · ebf6d33b
      toplevel:
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* libtool.m4: Fix globbing of darwin versions.
      
      boehm-gc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      gcc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libatomic/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libbacktrace/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libcc1/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libcilkrts/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libffi/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libgfortran/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libgomp/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libitm/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libobjc/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libquadmath/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libsanitizer/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libssp/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libstdc++-v3/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libvtv/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      lto-plugin/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libjava/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      libjava/classpath/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      zlib/
      2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
      
      	PR target/63610
      	* configure: Regenerate.
      
      From-SVN: r217366
      Francois-Xavier Coudert committed
  26. 23 Oct, 2013 1 commit
  27. 25 Sep, 2013 1 commit
  28. 24 Sep, 2013 1 commit
  29. 20 Sep, 2013 1 commit
  30. 13 Sep, 2013 1 commit
  31. 10 Sep, 2013 1 commit
  32. 08 Sep, 2013 1 commit
  33. 07 Sep, 2013 1 commit
  34. 06 Sep, 2013 1 commit
  35. 28 Aug, 2013 1 commit
  36. 20 Aug, 2013 1 commit
  37. 09 Aug, 2013 1 commit
  38. 07 Aug, 2013 1 commit