1. 13 Feb, 2014 7 commits
  2. 12 Feb, 2014 20 commits
    • pa.c (pa_option_override): Remove auto increment FIXME. · 0fdd1196
      	* config/pa/pa.c (pa_option_override): Remove auto increment FIXME.
      
      From-SVN: r207743
      John David Anglin committed
    • float128-mul-underflow.c, [...]: New tests. · 9acf28f1
      gcc/testsuite:
      	* gcc.dg/torture/float128-mul-underflow.c,
      	gcc.dg/torture/float128-truncdf-underflow.c,
      	gcc.dg/torture/float128-truncsf-underflow.c: New tests.
      
      libgcc:
      	* soft-fp/adddf3.c: Update from glibc.
      	* soft-fp/addsf3.c: Likewise.
      	* soft-fp/addtf3.c: Likewise.
      	* soft-fp/divdf3.c: Likewise.
      	* soft-fp/divsf3.c: Likewise.
      	* soft-fp/divtf3.c: Likewise.
      	* soft-fp/double.h: Likewise.
      	* soft-fp/eqdf2.c: Likewise.
      	* soft-fp/eqsf2.c: Likewise.
      	* soft-fp/eqtf2.c: Likewise.
      	* soft-fp/extenddftf2.c: Likewise.
      	* soft-fp/extended.h: Likewise.
      	* soft-fp/extendsfdf2.c: Likewise.
      	* soft-fp/extendsftf2.c: Likewise.
      	* soft-fp/extendxftf2.c: Likewise.
      	* soft-fp/fixdfdi.c: Likewise.
      	* soft-fp/fixdfsi.c: Likewise.
      	* soft-fp/fixdfti.c: Likewise.
      	* soft-fp/fixsfdi.c: Likewise.
      	* soft-fp/fixsfsi.c: Likewise.
      	* soft-fp/fixsfti.c: Likewise.
      	* soft-fp/fixtfdi.c: Likewise.
      	* soft-fp/fixtfsi.c: Likewise.
      	* soft-fp/fixtfti.c: Likewise.
      	* soft-fp/fixunsdfdi.c: Likewise.
      	* soft-fp/fixunsdfsi.c: Likewise.
      	* soft-fp/fixunsdfti.c: Likewise.
      	* soft-fp/fixunssfdi.c: Likewise.
      	* soft-fp/fixunssfsi.c: Likewise.
      	* soft-fp/fixunssfti.c: Likewise.
      	* soft-fp/fixunstfdi.c: Likewise.
      	* soft-fp/fixunstfsi.c: Likewise.
      	* soft-fp/fixunstfti.c: Likewise.
      	* soft-fp/floatdidf.c: Likewise.
      	* soft-fp/floatdisf.c: Likewise.
      	* soft-fp/floatditf.c: Likewise.
      	* soft-fp/floatsidf.c: Likewise.
      	* soft-fp/floatsisf.c: Likewise.
      	* soft-fp/floatsitf.c: Likewise.
      	* soft-fp/floattidf.c: Likewise.
      	* soft-fp/floattisf.c: Likewise.
      	* soft-fp/floattitf.c: Likewise.
      	* soft-fp/floatundidf.c: Likewise.
      	* soft-fp/floatundisf.c: Likewise.
      	* soft-fp/floatunditf.c: Likewise.
      	* soft-fp/floatunsidf.c: Likewise.
      	* soft-fp/floatunsisf.c: Likewise.
      	* soft-fp/floatunsitf.c: Likewise.
      	* soft-fp/floatuntidf.c: Likewise.
      	* soft-fp/floatuntisf.c: Likewise.
      	* soft-fp/floatuntitf.c: Likewise.
      	* soft-fp/gedf2.c: Likewise.
      	* soft-fp/gesf2.c: Likewise.
      	* soft-fp/getf2.c: Likewise.
      	* soft-fp/ledf2.c: Likewise.
      	* soft-fp/lesf2.c: Likewise.
      	* soft-fp/letf2.c: Likewise.
      	* soft-fp/muldf3.c: Likewise.
      	* soft-fp/mulsf3.c: Likewise.
      	* soft-fp/multf3.c: Likewise.
      	* soft-fp/negdf2.c: Likewise.
      	* soft-fp/negsf2.c: Likewise.
      	* soft-fp/negtf2.c: Likewise.
      	* soft-fp/op-1.h: Likewise.
      	* soft-fp/op-2.h: Likewise.
      	* soft-fp/op-4.h: Likewise.
      	* soft-fp/op-8.h: Likewise.
      	* soft-fp/op-common.h: Likewise.
      	* soft-fp/quad.h: Likewise.
      	* soft-fp/single.h: Likewise.
      	* soft-fp/soft-fp.h: Likewise.
      	* soft-fp/subdf3.c: Likewise.
      	* soft-fp/subsf3.c: Likewise.
      	* soft-fp/subtf3.c: Likewise.
      	* soft-fp/truncdfsf2.c: Likewise.
      	* soft-fp/trunctfdf2.c: Likewise.
      	* soft-fp/trunctfsf2.c: Likewise.
      	* soft-fp/trunctfxf2.c: Likewise.
      	* soft-fp/unorddf2.c: Likewise.
      	* soft-fp/unordsf2.c: Likewise.
      	* soft-fp/unordtf2.c: Likewise.
      	* config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
      	macro.
      	* config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      	* config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
      	Likewise.
      
      From-SVN: r207742
      Joseph Myers committed
    • re PR middle-end/59737 (ice from optimize_inline_calls) · f494a607
      	PR middle-end/59737
      	* g++.dg/ipa/pr59737.C: New test.
      
      From-SVN: r207735
      Jakub Jelinek committed
    • Pass --32 to GNU assembler for .long foo@GOTOFF check · 0544c448
      	PR target/60151
      	* configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU
      	assembler.
      	* configure: Regenerated.
      
      Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
      
      From-SVN: r207731
      H.J. Lu committed
    • Compile g++.dg/opt/pr52727.C with -march=i686 for ia32 · 8a170134
      	* g++.dg/opt/pr52727.C: Compile with -march=i686 for ia32.
      
      From-SVN: r207730
      H.J. Lu committed
    • vec.c (vec_prefix::calculate_allocation): Move as inline variant to vec.h. · 3a938d75
      2014-02-12  Richard Biener  <rguenther@suse.de>
      
      	* vec.c (vec_prefix::calculate_allocation): Move as
      	inline variant to vec.h.
      	(vec_prefix::calculate_allocation_1): New out-of-line version.
      	* vec.h (vec_prefix::calculate_allocation_1): Declare.
      	(vec_prefix::m_has_auto_buf): Rename to ...
      	(vec_prefix::m_using_auto_storage): ... this.
      	(vec_prefix::calculate_allocation): Inline the easy cases
      	and dispatch to calculate_allocation_1 which doesn't need the
      	prefix address.
      	(va_heap::reserve): Use gcc_checking_assert.
      	(vec<T, A, vl_embed>::embedded_init): Add argument to initialize
      	m_using_auto_storage.
      	(auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed>
      	member and adjust.
      	(vec<T, va_heap, vl_ptr>::reserve): Remove redundant check.
      	(vec<T, va_heap, vl_ptr>::release): Avoid casting.
      	(vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify.
      
      From-SVN: r207729
      Richard Biener committed
    • gcse.c (compute_transp): break from loop over canon_modify_mem_list when we found a dependence. · ad0188be
      2014-02-12  Richard Biener  <rguenther@suse.de>
      
      	* gcse.c (compute_transp): break from loop over canon_modify_mem_list
      	when we found a dependence.
      
      From-SVN: r207726
      Richard Biener committed
    • Fix typo in dg-error invocation. · 77d8d4eb
      	gcc/testsuite/
      	* c-c++-common/raw-string-3.c: Fix typo in dg-error invocation.
      
      From-SVN: r207725
      Thomas Schwinge committed
    • Refactor common code into new maybe_fold_stmt function. · 88ac13da
      	gcc/
      	* gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move
      	common code...
      	(maybe_fold_stmt): ... into this new function.
      	* omp-low.c (lower_omp): Update comment.
      
      From-SVN: r207724
      Thomas Schwinge committed
    • Add clobber for object, after last use. · bae729a2
      	gcc/
      	* omp-low.c (lower_omp_target): Add clobber for sizes array, after
      	last use.
      
      From-SVN: r207723
      Thomas Schwinge committed
    • Fix potential ICE (null pointer dereference) in omp-low.c:diagnose_sb_0. · 64e5ace5
      	gcc/
      	* omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to
      	dereference.
      	gcc/testsuite/
      	* gcc.dg/cilk-plus/jump-openmp.c: New file.
      
      From-SVN: r207722
      Thomas Schwinge committed
    • [ARM] [Churn] Comments on cost tables should have lower-case identifiers. · 7b40f5cf
      	* config/arm/aarch-cost-tables.h (generic_extra_costs): Fix
      	identifiers in comments.
      	(cortexa53_extra_costs): Likewise.
      	* config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in
      	comments.
      	(cortexa7_extra_costs): Likewise.
      	(cortexa12_extra_costs): Likewise.
      	(cortexa15_extra_costs): Likewise.
      	(v7m_extra_costs): Likewise.
      
      From-SVN: r207721
      James Greenhalgh committed
    • re PR middle-end/60092 (posix_memalign not recognized to derive alias and alignment info) · c4c8514e
      2014-02-12  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/60092
      	* gimple-low.c (lower_builtin_posix_memalign): Lower conditional
      	of posix_memalign being successful.
      	(lower_stmt): Restrict lowering of posix_memalign to when
      	-ftree-bit-ccp is enabled.
      
      	* gcc.dg/torture/pr60092.c: New testcase.
      	* gcc.dg/tree-ssa/alias-31.c: Disable SRA.
      
      From-SVN: r207720
      Richard Biener committed
    • avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for arg_loc. · 8eb651bd
      	* config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for arg_loc.
      	* config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise.
      
      From-SVN: r207718
      Senthil Kumar Selvaraj committed
    • re PR rtl-optimization/60116 (wrong code at -Os on x86_64-linux-gnu in 32-bit mode) · 491bdba3
      	PR rtl-optimization/60116
      	* combine.c (try_combine): Fix oversight in previous change.
      
      From-SVN: r207716
      Eric Botcazou committed
    • re PR fortran/60060 (lto1: internal compiler error: in add_AT_specification, at dwarf2out.c:4096) · 283416b3
      2014-02-12  Richard Biener  <rguenther@suse.de>
      
      	PR lto/60060
      	* lto-lang.c (lto_write_globals): Do not call
      	wrapup_global_declarations or emit_debug_global_declarations
      	but emit debug info for non-function scope variables
      	directly.
      
      From-SVN: r207715
      Richard Biener committed
    • re PR rtl-optimization/60116 (wrong code at -Os on x86_64-linux-gnu in 32-bit mode) · 62b03553
      	PR rtl-optimization/60116
      	* combine.c (try_combine): Also remove dangling REG_DEAD notes on the
      	other_insn once the combination has been validated.
      
      From-SVN: r207713
      Eric Botcazou committed
    • re PR c++/60047 (ICE with defaulted copy constructor and virtual base class) · 6cfbc023
      /cp
      2014-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/60047
      	* method.c (implicitly_declare_fn): A constructor of a class with
      	virtual base classes isn't constexpr (7.1.5p4).
      
      /testsuite
      2014-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/60047
      	* g++.dg/cpp0x/pr60047.C: New.
      
      From-SVN: r207712
      Paolo Carlini committed
    • re PR c/60101 (Long compile times when mixed complex floating point datatypes… · c2bf53a1
      re PR c/60101 (Long compile times when mixed complex floating point datatypes are used in lengthy expressions)
      
      	PR c/60101
      	* c-common.c (merge_tlist): If copy is true, call new_tlist,
      	if false, add ADD itself, rather than vice versa.
      	(verify_tree): For COND_EXPR, don't call merge_tlist with non-zero
      	copy.  For SAVE_EXPR, only call merge_tlist once.
      
      	* c-c++-common/pr60101.c: New test.
      
      From-SVN: r207711
      Jakub Jelinek committed
    • Daily bump. · 87667d8b
      From-SVN: r207706
      GCC Administrator committed
  3. 11 Feb, 2014 13 commits
    • re PR lto/59468 (ICE on invalid C++ code with LTO in… · ec77d61f
      re PR lto/59468 (ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo, at gimple-fold.c:3224)
      
      
      	PR lto/59468
      	* ipa-utils.h (possible_polymorphic_call_targets): Update prototype
      	and wrapper.
      	* ipa-devirt.c: Include demangle.h
      	(odr_violation_reported): New static variable.
      	(add_type_duplicate): Update odr_violations.
      	(maybe_record_node): Add completep parameter; update it.
      	(record_target_from_binfo): Add COMPLETEP parameter;
      	update it as needed.
      	(possible_polymorphic_call_targets_1): Likewise.
      	(struct polymorphic_call_target_d): Add nonconstruction_targets;
      	rename FINAL to COMPLETE.
      	(record_targets_from_bases): Sanity check we found the binfo;
      	fix COMPLETEP updating.
      	(possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP
      	parameter, fix computing of COMPLETEP.
      	(dump_possible_polymorphic_call_targets): Imrove readability of dump; at
      	LTO time do demangling.
      	(ipa_devirt): Use nonconstruction_targets; Improve dumps.
      	* gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer
      	parameter.
      	(gimple_get_virt_method_for_binfo): Likewise.
      	* gimple-fold.h (gimple_get_virt_method_for_binfo,
      	gimple_get_virt_method_for_vtable): Update prototypes.
      
      	PR lto/59468
      	* g++.dg/ipa/devirt-27.C: New testcase.
      	* g++.dg/ipa/devirt-26.C: New testcase.
      
      From-SVN: r207702
      Jan Hubicka committed
    • re PR target/49008 (A typo code found in genautomata.c) · 5a4dcd9b
      2014-02-11  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/49008
      	* genautomata.c (add_presence_absence): Fix typo with
      	{final_}presence_list.
      
      From-SVN: r207701
      Vladimir Makarov committed
    • re PR target/60137 (Code fails with -mcpu=power8 -O3 -mno-vsx) · 69b7afed
      [gcc]
      2014-02-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/60137
      	* config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter
      	for VSX/Altivec vectors that land in GPR registers.
      
      [gcc/testsuite]
      2014-02-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/60137
      	* gcc.target/powerpc/pr60137.c: New file.
      
      From-SVN: r207699
      Michael Meissner committed
    • re PR fortran/52370 (Spurious "may be used uninitialized" warning for check of optional argument) · 879287d9
      	PR fortran/52370
      	* trans-decl.c (gfc_build_dummy_array_decl): Set TREE_NO_WARNING
      	on decl if sym->attr.optional.
      
      	* gfortran.dg/pr52370.f90: New test.
      
      From-SVN: r207698
      Jakub Jelinek committed
    • re PR target/59927 (ICE sorry, unimplemented: ms_abi attribute requires… · fe89bba4
      re PR target/59927 (ICE sorry, unimplemented: ms_abi attribute requires -maccumulate-outgoing-args or subtarget optimization implying it)
      
      	PR target/59927
      	Revert
      	2013-12-15  Uros Bizjak  <ubizjak@gmail.com>
      
      	PR testsuite/58630
      	* gcc.target/i386/pr43662.c (dg-options):
      	Add -maccumulate-outgoing-args.
      	* gcc.target/i386/pr43869.c (dg-options): Ditto.
      	* gcc.target/i386/pr57003.c (dg-options): Ditto.
      	* gcc.target/i386/avx-vzeroupper-16.c (dg-options):
      	Remove -mtune=generic and add -maccumulate-outgoing-args instead.
      	* gcc.target/i386/avx-vzeroupper-17.c (dg-options): Ditto.
      	* gcc.target/i386/avx-vzeroupper-18.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-1.c (dg-options):
      	Add -maccumulate-outgoing-args.
      	* gcc.target/x86_64/abi/callabi/func-2a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-2b.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-indirect.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-indirect-2a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/func-indirect-2b.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/leaf-1.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/leaf-2.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/pr38891.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-1.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-2.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-3.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-4a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-4b.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-5a.c (dg-options): Ditto.
      	* gcc.target/x86_64/abi/callabi/vaarg-5b.c (dg-options): Ditto.
      
      From-SVN: r207697
      Uros Bizjak committed
    • pr56787.c: Mark as xfail for vect_no_align. · 6521b2e9
      gcc/testsuite/
      	* gcc.dg/vect/pr56787.c: Mark as xfail for vect_no_align.
      
      From-SVN: r207696
      Richard Sandiford committed
    • re PR middle-end/59776 (gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865) · 8268ad5c
      	PR debug/59776
      	* tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
      	around drhs if type conversion to lacc->type is not useless.
      
      	* gcc.dg/guality/pr59776.c: New test.
      
      From-SVN: r207695
      Jakub Jelinek committed
    • sourcebuild.texi (arm_vfp3_ok): Add missing anchor. · e332c729
      	* doc/sourcebuild.texi (arm_vfp3_ok): Add missing anchor.
      
      From-SVN: r207694
      Uros Bizjak committed
    • [AArch64] Wire up Cortex-A57 rtx costs. · 4fd92af6
      	* config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57
      	tuning struct.
      	(cortex-a57.cortex-a53): Likewise.
      	* config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct.
      
      From-SVN: r207693
      Kyrylo Tkachov committed
    • [ARM] Adjust thumb2_movhi_insn pattern for -mrestrict-it. · 7cb14cb8
      	* config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for
      	arm_restrict_it.
      
      From-SVN: r207692
      Kyrylo Tkachov committed
    • sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and add_options_for_arm_vfp3. · 6d3715b9
      2014-02-11  Renlin Li  <Renlin.Li@arm.com>
      
      	gcc/
      	* doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and
      	add_options_for_arm_vfp3.
      
      	gcc/testsuite/
      	* gcc.target/arm/fixed_float_conversion.c: Add arm_vfp3 option.
      	* lib/target-supports.exp (check_effective_target_arm_vfp3_ok): New.
      	(add_options_for_arm_vfp3): New.
      
      From-SVN: r207691
      Renlin Li committed
    • re PR middle-end/54041 (-mshort ICE in convert_memory_address_addr_space, at explow.c:327) · cddddfff
      	PR middle-end/54041
      	* expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an
      	object with an undesirable mode.
      
      	PR middle-end/54041
      	* gcc.target/m68k/pr54041.c: New test.
      
      From-SVN: r207689
      Jeff Law committed
    • Only assume 4-byte stack alignment on Solaris 9/x86 (PR libgomp/60107) · 7c1aef7e
      	PR libgomp/60107
      	* config/i386/sol2-9.h: New file.
      	* config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*,
      	*-*-solaris2.9*): Use it.
      
      From-SVN: r207688
      Rainer Orth committed