1. 15 Nov, 2012 9 commits
  2. 14 Nov, 2012 21 commits
    • re PR debug/55328 (ICE: in output_addr_table_entry, at dwarf2out.c:21780 with -gsplit-dwarf) · bc6a3395
      2012-11-14  Sterling Augustine  <saugustine@google.com>
      
      	PR debug/55328
      	* dwarf2out.c (index_address_table_entry): Check a node's refcount.
      
      From-SVN: r193515
      Sterling Augustine committed
    • re PR libstdc++/55320 (Invalid delete with throwing copy-c'tor passed to std::function) · 99ace34a
      	PR libstdc++/55320
      	* include/std/functional (function::function(F)): Set _M_manager after
      	operations that could throw.
      	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
      	* include/tr1/functional
      	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
      	(_Function_base::_Base_manager::_M_get_pointer): Likewise.
      	* testsuite/20_util/function/cons/55320.cc: New.
      	* testsuite/20_util/function/cons/addressof.cc: New.
      	* testsuite/20_util/function/cons/callable.cc: Remove header.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
      	* testsuite/tr1/3_function_objects/function/10.cc: New.
      
      From-SVN: r193514
      Jonathan Wakely committed
    • builtins.c (define_builtin): Accept ECF flags and use set_call_expr_flags. · 3aac5aad
      
      	* builtins.c (define_builtin): Accept ECF flags and
      	use set_call_expr_flags.
      	(initialize_builtins): Update.
      
      From-SVN: r193513
      Jan Hubicka committed
    • re PR bootstrap/55051 (profiledbootstrap failed) · 7153ca97
      
      	PR bootstrap/55051
      	* ipa-inline.c (edge_badness): Improve dumping; fix overflow.
      
      From-SVN: r193512
      Jan Hubicka committed
    • asan-dg.exp: New file. · 8335a643
      	* lib/asan-dg.exp: New file.
      	* gcc.dg/asan/asan.exp: New file.
      	* g++.dg/dg.exp: Prune also asan tests.
      	* g++.dg/asan/asan.exp: New file.
      	* c-c++-common/asan/memcmp-1.c: New test.
      
      From-SVN: r193511
      Jakub Jelinek committed
    • t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES. · d3547cab
      2012-11-14  Matthias Klose  <doko@ubuntu.com>
      
              * config/sparc/t-linux64: Add multiarch names in MULTILIB_OSDIRNAMES.
              * config/sparc/t-linux: New file; define MULTIARCH_DIRNAME.
              * config.gcc <sparc-*-linux*> (tmake_file): Include sparc/t-linux
              for 32bit non-biarch configurations.
      
      From-SVN: r193510
      Matthias Klose committed
    • abi_tag.cc: Adjust expected demangling for 128bit long-double targets. · 0c9afb50
      	* testsuite/26_numerics/complex/abi_tag.cc: Adjust expected
      	demangling for 128bit long-double targets.
      
      From-SVN: r193509
      Uros Bizjak committed
    • invoke.texi: Document -print-multiarch. · e0cdc09f
      2012-11-14  Matthias Klose  <doko@ubuntu.com>
      
              * doc/invoke.texi: Document -print-multiarch.
              * doc/install.texi: Document --enable-multiarch.
              * doc/fragments.texi: Document MULTILIB_OSDIRNAMES, MULTIARCH_DIRNAME.
              * configure.ac: Add --enable-multiarch option.
              * configure: Regenerate.
              * Makefile.in (s-mlib): Pass MULTIARCH_DIRNAME to genmultilib.
              enable_multiarch, with_float: New macros.
              if_multiarch: New macro, define in terms of enable_multiarch.
              * genmultilib: Add new argument for the multiarch name.
              * gcc.c (multiarch_dir): Define.
              (for_each_path): Search for multiarch suffixes.
              (driver_handle_option): Handle multiarch option.
              (do_spec_1): Pass -imultiarch if defined.
              (main): Print multiarch.
              (set_multilib_dir): Separate multilib and multiarch names
              from multilib_select.
              (print_multilib_info): Ignore multiarch names in multilib_select.
              * incpath.c (add_standard_paths): Search the multiarch include dirs.
              * cppdefault.h (default_include): Document multiarch in multilib
              member.
              * cppdefault.c: [LOCAL_INCLUDE_DIR, STANDARD_INCLUDE_DIR] Add an
              include directory for multiarch directories.
              * common.opt: New options --print-multiarch and -imultilib.
              * config.gcc <i[34567]86-*-linux* | x86_64-*-linux*> (tmake_file):
              Include i386/t-linux.
              <i[34567]86-*-kfreebsd*-gnu | x86_64-*-kfreebsd*-gnu> (tmake_file):
              Include i386/t-kfreebsd.
              <i[34567]86-*-gnu*> (tmake_file): Include i386/t-gnu.
              * config/i386/t-linux64: Add multiarch names in
              MULTILIB_OSDIRNAMES, define MULTIARCH_DIRNAME.
              * config/i386/t-gnu: New file.
              * config/i386/t-kfreebsd: Likewise.
              * config/i386/t-linux: Likewise.
      
      From-SVN: r193508
      Matthias Klose committed
    • f95-lang.c (ATTR_NOTHROW_LEAF_MALLOC_LIST): New macro. · 46de9f5e
      	* f95-lang.c (ATTR_NOTHROW_LEAF_MALLOC_LIST): New macro.
      	(gfc_define_builtin): Use set_call_expr_flags.
      	(gfc_init_builtin_functions): Update.
      
      From-SVN: r193507
      Jan Hubicka committed
    • tree.c (set_call_expr_flags): New function. · 229a6cdb
      
      	* tree.c (set_call_expr_flags): New function.
      	(local_define_builtin): Use it.
      	* tree.h (set_call_expr_flags): Declare.
      
      From-SVN: r193506
      Jan Hubicka committed
    • re PR c++/55323 (ICE in expand_aggr_init_1, at cp/init.c:1718) · 3b616f08
      /cp
      2012-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/55323
      	* init.c (emit_mem_initializers): Skip arguments == error_mark_node.
      
      /testsuite
      2012-11-14  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/55323
      	* g++.dg/cpp0x/vt-55323.C: New.
      
      From-SVN: r193505
      Paolo Carlini committed
    • re PR c++/11750 (class scope using-declaration lookup not implemented) · 7628dc54
      gcc/testsuite/ChangeLog
      
      2012-11-14  Fabien Chêne  <fabien@gcc.gnu.org>
      
      	PR c++/11750
      	* g++.dg/inherit/vitual9.C: New.
      
      gcc/cp/ChangeLog
      
      2012-11-14  Fabien Chêne  <fabien@gcc.gnu.org>
      
      	PR c++/11750
      	* call.c (build_new_method_call_1): Check that the instance type
      	and the function context are the same before setting the flag
      	LOOKUP_NONVIRTUAL.
      
      From-SVN: r193504
      Fabien Chêne committed
    • re PR target/47440 (Use LCM for vzeroupper insertion) · ccd025e1
      	PR target/47440
      	* config/i386/i386.c (gate_insert_vzeroupper): New function.
      	(rest_of_handle_insert_vzeroupper): Ditto.
      	(struct rtl_opt_pass pass_insert_vzeroupper): New.
      	(ix86_option_override): Register vzeroupper insertion pass here.
      	(ix86_check_avx256_register): Handle SUBREGs properly.
      	(ix86_init_machine_status): Remove optimize_mode_switching[AVX_U128]
      	initialization.
      
      From-SVN: r193503
      Uros Bizjak committed
    • configure.ac (HAVE_LD_LARGE_TOC): Add AIX test. · 9e81cc8b
              * configure.ac (HAVE_LD_LARGE_TOC): Add AIX test.
              * configure: Regenerated.
              * config/rs6000/aix61.h (SUBTARGET_OVERRIDE_OPTIONS): Warn if
              other toc options used with cmodel. Disable TARGET_NO_FP_IN_TOC
              and TARGET_NO_SUM_IN_TOC if not CMODEL_SMALL. CMODEL_MEDIUM means
              CMODEL_LARGE on AIX.
              (ASM_SPEC): -mvsx implies -mpwr6. Add -many.
              (ASM_DEFAULT_SPEC): Use -mpwr4.
              (TARGET_CMODEL): Define.
              (SET_CMODEL): Define.
              * config/rs6000/rs6000.md (largetoc_high_aix<mode>): New.
              (largetoc_high_plus_aix<mode>): New.
              (largetoc_low<mode>): Change to mode iterator. Test TARGET_TOC
              instead of TARGET_ELF.
              (tocref): Remove TARGET_ELF test.
              * config/rs6000/rs6000.c (output_toc): Use [TE] for large TOC
              symbols on AIX.
              * config/rs6000/aix64.opt (mcmodel): New.
      
      From-SVN: r193502
      David Edelsohn committed
    • i386.c (ix86_get_function_versions_dispatcher): Guard variables with… · 4a3d0b10
      i386.c (ix86_get_function_versions_dispatcher): Guard variables with ASM_OUTPUT_TYPE_DIRECTIVE and HAVE_GNU_INDIRECT_FUNCTION...
      
      2012-11-14  Andreas Tobler  <andreast@fgznet.ch>
      
      	* config/i386/i386.c (ix86_get_function_versions_dispatcher): Guard
      	variables with ASM_OUTPUT_TYPE_DIRECTIVE and
      	HAVE_GNU_INDIRECT_FUNCTION where needed.
      
      From-SVN: r193501
      Andreas Tobler committed
    • Check __x86_64__ instead of __WORDSIZE · 4a56a7be
      	PR other/55292
      	Backport from upstream revision 167883
      	* sanitizer_common/sanitizer_linux.cc (internal_mmap): Check
      	__x86_64__ instead of __WORDSIZE.
      	(internal_filesize): Likwise.
      
      From-SVN: r193500
      H.J. Lu committed
    • Don't set AC_CONFIG_AUX_DIR · 4053ca2c
      	* configure.ac (AC_CONFIG_AUX_DIR): Removed.
      	* Makefile.in: Regenerated.
      	* configure: Likewise.
      
      From-SVN: r193499
      H.J. Lu committed
    • Rename libsanitizer/ChangeLog.asan to libsanitizer/ChangeLog · 9d10e4f5
      From-SVN: r193498
      H.J. Lu committed
    • Update libsanitizer generated files · 451a210d
      	* gcc_update: Update libsanitizer generated files.
      
      From-SVN: r193497
      H.J. Lu committed
    • Daily bump. · 286e9ca9
      From-SVN: r193494
      GCC Administrator committed
    • Update configure.ac for GCC tree and remove unused files · a2479b3d
      	PR other/55304
      	* acinclude.m4: New file.
      	* Makefile.am (ACLOCAL_AMFLAGS): New.
      	* configure.ac (AC_PREREQ): Set to 2.64.
      	(AC_CONFIG_AUX_DIR): Set to "..".
      	* Makefile.in: Regenerated.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* asan/Makefile.in: Likewise.
      	* interception/Makefile.in: Likewise.
      	* sanitizer_common/Makefile.in: Likewise.
      
      	* config.guess: Removed.
      	* config.sub: Likewise.
      	* depcomp: Likewise.
      	* install-sh: Likewise.
      	* ltmain.sh: Likewise.
      	* missing: Likewise.
      
      From-SVN: r193491
      H.J. Lu committed
  3. 13 Nov, 2012 10 commits