- Nov 15, 2012
-
-
David S. Miller authored
gcc/ 2012-11-15 David S. Miller <davem@davemloft.net> * configure.ac: Add check for assembler SPARC4 instruction support. * configure: Rebuild. * config.in: Add HAVE_AS_SPARC4 section. * config/sparc/sparc.opt (mcbcond): New option. * doc/invoke.texi: Document it. * config/sparc/constraints.md: New constraint 'A' for 5-bit signed immediates. * doc/md.texi: Document it. * config/sparc/sparc.c (dump_target_flag_bits): Handle MASK_CBCOND. (sparc_option_override): Likewise. (emit_cbcond_insn): New function. (emit_conditional_branch_insn): Call it. (emit_cbcond_nop): New function. (output_ubranch): Use cbcond, remove label arg. (output_cbcond): New function. * config/sparc/sparc-protos.h (output_ubranch): Update. (output_cbcond): Declare it. (emit_cbcond_nop): Likewise. * config/sparc/sparc.md (type attribute): New types 'cbcond' and uncond_cbcond. (emit_cbcond_nop): New attribute. (length attribute): Handle cbcond and uncond_cbcond. (in_call_delay attribute): Reject cbcond and uncond_cbcond. (in_branch_delay attribute): Likewise. (in_uncond_branch_delay attribute): Likewise. (in_annul_branch_delay attribute): Likewise. (*cbcond_sp32, *cbcond_sp64): New insn patterns. (jump): Rewrite into an expander. (*jump_ubranch, *jump_cbcond): New patterns. * config/sparc/niagara4.md: Match 'cbcond' in 'n4_cti'. * config/sparc/sparc.h (AS_NIAGARA4_FLAG): New macro, use it when target default is niagara4. (SPARC_SIMM5_P): Define. * config/sparc/sol2.h (AS_SPARC64_FLAG): Adjust. (AS_SPARC32_FLAG): Define. (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC): Use AS_NIAGARA4_FLAG as needed. From-SVN: r193543
-
Roland McGrath authored
From-SVN: r193542
-
Marcus Shawcroft authored
From-SVN: r193540
-
Steve Ellcey authored
2012-11-15 Steve Ellcey <sellcey@mips.com> * expr.c (expand_cond_expr_using_cmove): Use promoted mode for temp. From-SVN: r193539
-
Tobias Burnus authored
2012-11-15 Tobias Burnus <burnus@net-b.de> Joseph Myers <joseph@codesourcery.com> * math/fmaq.c (fmaq): Merge from GLIBC. Fix fma underflows with small x * y; Fix overflow results outside round-to-nearest mode; make use of Dekker and Knuth algorithms use round-to-nearest. Co-Authored-By:
Joseph Myers <joseph@codesourcery.com> From-SVN: r193538
-
Tom de Vries authored
2012-11-15 Tom de Vries <tom@codesourcery.com> PR tree-optimization/54619 * tree-ssa-loop-ivopts.c (get_use_type): New function. (get_computation_at): Use get_use_type. (get_computation_cost_at): Declare and set mem_mode. Use mem_mode. From-SVN: r193537
-
Dmitry Vyukov authored
* MAINTAINERS: (libsanitizer, asan.c): Add myself, Kostya Serebryany (kcc@google.com) and Jakub Jelinek (jakub@redhat.com). Rename area for Dodji Seketeli (dodji@redhat.com). From-SVN: r193536
-
Jason Merrill authored
PR c++/54903 * decl2.c (mark_used): Don't complain about auto in templates. From-SVN: r193535
-
H.J. Lu authored
* configure.ac: Properly set MULTISUBDIR. * asan/Makefile.am (gcc_version): New. * interception/Makefile.am (gcc_version): Likewise. * sanitizer_common/Makefile.am (gcc_version): Likewise. * configure: Regenerated. * asan/Makefile.in: Likewise. * interception/Makefile.in: Likewise. * sanitizer_common/Makefile.in: Likewise. From-SVN: r193534
-
Jakub Jelinek authored
* asan.c (report_error_func): Set DECL_IGNORED_P, don't touch DECL_ASSEMBLER_NAME. (asan_init_func): Likewise. (asan_finish_file): Use void * instead of __asan_global * as type of __asan_{,un}register_globals. Set DECL_IGNORED_P on the decls. From-SVN: r193532
-
Dodji Seketeli authored
ChangeLog: * MAINTAINERS: (asan.c, related): Add myself. From-SVN: r193530
-
Matthias Klose authored
2012-11-15 Matthias Klose <doko@ubuntu.com> * Makefile.in (if_multiarch): Don't use a GNU make 3.81 feature. From-SVN: r193529
-
Jason Merrill authored
From-SVN: r193527
-
Jason Merrill authored
PR c++/37276 * decl.c (decls_match): Remove #ifdef around earlier fix. From-SVN: r193526
-
Jason Merrill authored
* class.c (finish_struct_1): Check virtual functions for missing ABI tags. From-SVN: r193525
-
Jason Merrill authored
PR c++/55275 * pt.c (maybe_process_partial_specialization): Update DECL_SOURCE_LOCATION for new specializations. From-SVN: r193524
-
Jonathan Wakely authored
PR libstdc++/53841 * include/std/condition_variable (condition_variable::wait_until): Handle clocks with higher resolution than __clock_t. (condition_variable::__wait_until_impl): Remove unnecessary _Clock parameter. * testsuite/30_threads/condition_variable/members/53841.cc: New. From-SVN: r193523
-
Jan Hubicka authored
PR bootstrap/55051 * gcov-io.c (gcov_read_summary): Fix array bound check. From-SVN: r193522
-
Roland McGrath authored
* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF. * configure: Regenerate. From-SVN: r193521
-
GCC Administrator authored
From-SVN: r193519
-
H.J. Lu authored
PR other/55291 * configure.ac (--enable-version-specific-runtime-libs): New option. (AC_CANONICAL_SYSTEM): New. (AM_ENABLE_MULTILIB): Moved right after AM_INIT_AUTOMAKE. (toolexecdir): Support multilib. (toolexeclibdir): Likewise. (multilib_arg): New. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * asan/Makefile.in: Likewise. * interception/Makefile.in: Likewise. * sanitizer_common/Makefile.in: Likewise. From-SVN: r193516
-
- Nov 14, 2012
-
-
Sterling Augustine authored
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
-
Jonathan Wakely authored
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
-
Jan Hubicka authored
* builtins.c (define_builtin): Accept ECF flags and use set_call_expr_flags. (initialize_builtins): Update. From-SVN: r193513
-
Jan Hubicka authored
PR bootstrap/55051 * ipa-inline.c (edge_badness): Improve dumping; fix overflow. From-SVN: r193512
-
Jakub Jelinek authored
* 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
-
Matthias Klose authored
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
-
Uros Bizjak authored
* testsuite/26_numerics/complex/abi_tag.cc: Adjust expected demangling for 128bit long-double targets. From-SVN: r193509
-
Matthias Klose authored
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
-
Jan Hubicka authored
* 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 authored
* tree.c (set_call_expr_flags): New function. (local_define_builtin): Use it. * tree.h (set_call_expr_flags): Declare. From-SVN: r193506
-
Paolo Carlini authored
/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
-
Fabien Chêne authored
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
-
Uros Bizjak authored
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
-
David Edelsohn authored
* 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
-
Andreas Tobler authored
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
-
H.J. Lu authored
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 authored
* configure.ac (AC_CONFIG_AUX_DIR): Removed. * Makefile.in: Regenerated. * configure: Likewise. From-SVN: r193499
-
H.J. Lu authored
From-SVN: r193498
-
H.J. Lu authored
* gcc_update: Update libsanitizer generated files. From-SVN: r193497
-