- 14 Nov, 2012 14 commits
-
-
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. (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. (local_define_builtin): Use it. * tree.h (set_call_expr_flags): Declare. From-SVN: r193506
Jan Hubicka committed -
/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 -
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 -
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. * 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 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 -
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 -
* configure.ac (AC_CONFIG_AUX_DIR): Removed. * Makefile.in: Regenerated. * configure: Likewise. From-SVN: r193499
H.J. Lu committed -
From-SVN: r193498
H.J. Lu committed -
* gcc_update: Update libsanitizer generated files. From-SVN: r193497
H.J. Lu committed -
From-SVN: r193494
GCC Administrator committed -
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
-
- 13 Nov, 2012 24 commits
-
-
common.opt (fPIC, [...]): Create a Negative loop such that any of these options disables the others. * common.opt (fPIC, fPIE, fpic, fpie): Create a Negative loop such that any of these options disables the others. From-SVN: r193489
Ian Lance Taylor committed -
From-SVN: r193487
Richard Henderson committed -
2012-11-13 Sriraman Tallam <tmsriram@google.com> * cgraph.c (insert_new_cgraph_node_version): Use cgraph_get_node instead of cgraph_get_create_node. * config/i386/i386.c (ix86_get_function_versions_dispatcher): Move ifunc not supported code to the end. * class.c (mark_versions_used): Remove. (resolve_address_of_overloaded_function): Call target hook for versioned functions. Refactor to call get_function_versions_dispatcher. * decl.c (duplicate_decls): Add comments. * cp/call.c (get_function_version_dispatcher): Expose function. (mark_versions_used): Expose function. * cp/cp-tree.h (mark_versions_used): New declaration. (get_function_version_dispatcher): Ditto. * testsuite/g++.dg/mv4.C: Add require ifunc. Change error message. * testsuite/g++.dg/mv5.C: Add require ifunc. * testsuite/g++.dg/mv6.C: Add require ifunc. From-SVN: r193486
Sriraman Tallam committed -
PR other/55312 * configure.ac: Only add -Werror if building a target library. From-SVN: r193485
Ian Lance Taylor committed -
2012-11-13 Martin Jambor <mjambor@suse.cz> PR tree-optimization/55253 * ipa-cp.c (merge_aggregate_lattices): Propagate aggs_contain_variable flag. * testsuite/gcc.dg/torture/pr55253.c: New test. * testsuite/gcc.dg/torture/pr55305.c: Likewise. From-SVN: r193484
Martin Jambor committed -
gcc/ 2012-11-13 Eric Botcazou <ebotcazou@adacore.com> H.J. Lu <hongjiu.lu@intel.com> PR middle-end/55142 * config/i386/i386.c (legitimize_pic_address): Properly handle REG + CONST. (ix86_print_operand_address): Set code to 'k' when forcing addr32 prefix. For x32, zero-extend negative displacement if it < -16*1024*1024. gcc/testsuite/ 2012-11-13 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/55142 * gcc.target/i386/pr55142-1.c: New file. * gcc.target/i386/pr55142-2.c: Likewise. From-SVN: r193483
H.J. Lu committed -
* mode-switching.c (create_pre_exit): Use NONDEBUG_INSN_P. From-SVN: r193482
Uros Bizjak committed -
From-SVN: r193481
Uros Bizjak committed -
PR target/41993 * mode-switching.c (create_pre_exit): Set return_copy to last_insn when copy_start is a function return regno instead of pseudo. Skip debug instructions in instruction scan loop. From-SVN: r193480
Uros Bizjak committed -
Consider this short example: template<typename T> struct X { }; template<typename T> using Y = const X<T>; using Z = Y<int>; G++ crashes in lookup_class_template_1 while trying to build the alias template instantiation Y<int>. I think this is indirectly due to the fact that that lookup_class_template_1 can now yield a const qualified type like 'const X<T>'. As a consequence, the code in lookup_template_class_1 that was trying to access the TYPE_STUB_DECL field of the result of lookup_template_class_1 should now be adjusted to access the TYPE_STUB_DECL of the main variant of the resulting type instead (and that is TYPE_MAIN_DECL); because qualified types (constructed with build_qualified_type) have their TYPE_STUB_DECL set to NULL. Fixed thus and tested on x86_64-unknown-linux-gnu against trunk. gcc/cp PR c++/54466 * pt.c (lookup_template_class_1): TYPE_STUB_DECL should be accessed on the main variant of the type. gcc/testsuite/ * g++.dg/cpp0x/alias-decl-26.C: New test file. In the example of this patch, g++ crashes when trying to build the alias template Y<int From-SVN: r193479
Dodji Seketeli committed -
This patch builds libsanitizer only on x86_64 and i?86 linux targets for now. I guess The build can be enabled on other targets when they are ready. ChangeLog: * configure.ac: Enable libsanitizer just on x86 linux for now. * configure: Re-generate. From-SVN: r193478
Dodji Seketeli committed -
* configure.ac: Disable libsanitizer on AIX. Merge libquadmath sections. * configure: Regenerate. From-SVN: r193477
David Edelsohn committed -
2012-11-13 Andrew Stubbs <ams@codesourcery.com> Ulrich Weigand <ulrich.weigand@linaro.org> * config/arm/arm.c (arm_emit_coreregs_64bit_shift): Fix comment. * config/arm/arm.md (opt, opt_enabled): New attributes. (enabled): Use opt_enabled. (ashldi3, ashrdi3, lshrdi3): Add TARGET_NEON case. (ashldi3): Allow general operands for TARGET_NEON case. * config/arm/iterators.md (rshifts): New code iterator. (shift, shifttype): New code attributes. * config/arm/neon.md (UNSPEC_LOAD_COUNT): New unspec type. (neon_load_count, ashldi3_neon_noclobber, ashldi3_neon, signed_shift_di3_neon, unsigned_shift_di3_neon, ashrdi3_neon_imm_noclobber, lshrdi3_neon_imm_noclobber, <shift>di3_neon): New patterns. Co-Authored-By: Ulrich Weigand <ulrich.weigand@linaro.org> From-SVN: r193476
Andrew Stubbs committed -
* gcc.target/i386/avx256-unaligned-load-2.c: Requre !ia32 instead of lp64. * gcc.target/i386/avx256-unaligned-store-2.c: Likewise. * gcc.target/i386/pr49715-2.c: Likewise. * gcc.target/i386/retarg.c: Likewise. Scan both %rdi and %edi. From-SVN: r193475
H.J. Lu committed -
From-SVN: r193472
Jakub Jelinek committed -
re PR tree-optimization/55281 (ICE in build_int_cst_wide, at tree.c:1217 (with Ofast, ok with O3)) PR tree-optimization/55281 * tree-vect-generic.c (expand_vector_condition): Accept any is_gimple_val rather than just SSA_NAME if not COMPARISON_CLASS_P. * fold-const.c (fold_ternary_loc): Fold VEC_COND_EXPR if arg0 is either integer_all_onesp or integer_zerop. * tree-vect-stmts.c (vectorizable_condition): Build the condition using corresponding vector integer type instead of vectype. * gcc.dg/vect/fast-math-pr55281.c: New test. * g++.dg/opt/pr55281.C: New test. From-SVN: r193471
Jakub Jelinek committed -
re PR rtl-optimization/54127 (ICE in maybe_record_trace_start with asm goto, --target=powerpc-unknown-linux-gnu) PR rtl-optimization/54127 * cfgrtl.c (force_nonfallthru_and_redirect): When redirecting asm goto labels from BB_HEAD (e->dest) to target bb, decrement LABEL_NUSES of BB_HEAD (e->dest) and increment LABEL_NUSES of BB_HEAD (target) appropriately and adjust JUMP_LABEL and/or REG_LABEL_TARGET and REG_LABEL_OPERAND. * gcc.dg/torture/pr54127.c: New test. From-SVN: r193470
Jakub Jelinek committed -
* asan.c (instrument_builtin_call) <case BUILT_IN_BCOPY>: Fix up dest assignment. From-SVN: r193469
Jakub Jelinek committed -
libsanitizer/ * asan/asan_linux.cc (GetPcSpBp): Add sparc support. From-SVN: r193468
David S. Miller committed -
PR target/55257 * config/cris/cris.c (cris_asm_output_mi_thunk): Call final_start_function and final_end_function. From-SVN: r193467
Hans-Peter Nilsson committed -
From-SVN: r193466
David Edelsohn committed -
* configure.ac: Add section for configdirs for libsanitizer. Disable for cris-*-* and mmix-*-*. * configure: Regenerate. From-SVN: r193465
Hans-Peter Nilsson committed -
PR target/55195 * config/pa/pa.md (type): Add sibcall and sh_func_adrs insn types. (in_branch_delay): Don't allow sibcall or sh_func_adrs insns. (in_nullified_branch_delay): Likewise. (in_call_delay): Likewise. Define delay for sibcall insns. Adjust Z3 and Z4 insn reservations for new types. Add opaque cond to mark all calls, sibcalls, dyncalls and the $$sh_func_adrs call as variable. Update type of sibcalls and $$sh_func_adrs call. * config/pa/pa.c (pa_adjust_insn_length): Revise to return updated length instead of adjustment. Handle negative and undefined call adjustments for insn_default_length. Remove adjustment for millicode insn with unfilled delay slot. (pa_output_millicode_call): Update for revised millicode length. * config/pa/pa.h (ADJUST_INSN_LENGTH): Revise to set LENGTH. From-SVN: r193464
John David Anglin committed -
From-SVN: r193463
GCC Administrator committed
-
- 12 Nov, 2012 2 commits
-
-
From-SVN: r193459
Eric Botcazou committed -
* include/std/future (atomic_future): Remove declaration of non-standard name. From-SVN: r193457
Jonathan Wakely committed
-