- 23 Oct, 2012 9 commits
-
-
* config/mips/linux-common.h (STACK_CHECK_STATIC_BUILTIN): Define. (STACK_CHECK_PROTECT): Likewise. * config/mips/mips.h (MIPS_PROLOGUE_TEMP2_REGNUM): Likewise. (MIPS_PROLOGUE_TEMP2): Likewise. * config/mips/mips-protos.h (mips_output_probe_stack_range): Declare. * config/mips/mips.c: Include common/common-target.h. (mips_emit_probe_stack_range): New function. (mips_output_probe_stack_range): Likewise. (mips_expand_prologue): Invoke mips_emit_probe_stack_range if static builtin stack checking is enabled. * config/mips/mips.md (UNSPEC_PROBE_STACK_RANGE): New constant. (probe_stack_range_<P:mode>): New insn. ada/ * system-linux-mipsel.ads (Stack_Check_Probes): Set to True. * system-linux-mips.ads (Stack_Check_Probes): Likewise. * system-linux-mips64el.ads (Stack_Check_Probes): Likewise. From-SVN: r192713
Eric Botcazou committed -
2012-10-23 Marc Glisse <marc.glisse@inria.fr> gcc/ * tree-ssa-forwprop.c (forward_propagate_into_cond): Handle vectors. * fold-const.c (fold_relational_const): Handle VECTOR_CST. * doc/generic.texi (VEC_COND_EXPR): Document current policy. gcc/testsuite/ * gcc.dg/tree-ssa/foldconst-6.c: New testcase. From-SVN: r192711
Marc Glisse committed -
PR middle-end/54937 * tree-ssa-loop-niter.c (record_estimate): Do not try to lower the bound of non-is_exit statements. (maybe_lower_iteration_bound): Do it here. (estimate_numbers_of_iterations_loop): Call it. * gcc.c-torture/execute/pr54937.c: New testcase. * gcc.dg/tree-ssa/cunroll-2.c: Update. From-SVN: r192710
Jan Hubicka committed -
PR middle-end/54967 * cfgloopmanip.c (fix_bb_placements): Add loop_closed_ssa_invalidated; track basic blocks that moved out of their loops. (unloop): Likewise. (remove_path): Update. (fix_loop_placements): Update. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add loop_closed_ssa_invalidated parameter; pass it around. (canonicalize_loop_induction_variables): Update loop closed SSA form if needed. (tree_unroll_loops_completely): Likewise; do irred update out of the outer loop; verify that SSA form is closed. * cfgloop.h (unrloop): Update. * gfortran.dg/pr54967.f90: New testcase. From-SVN: r192709
Jan Hubicka committed -
PR go/54918 libgo: Set library version number. From-SVN: r192706
Ian Lance Taylor committed -
From-SVN: r192704
Ian Lance Taylor committed -
re PR target/55019 (Incorrectly use live argument register to save high register in thumb1 prologue) gcc/ PR target/55019 * config/arm/arm.c (thumb1_expand_prologue): Don't push high regs with live argument regs. gcc/testsuite/ PR target/55019 * gcc.dg/pr55019.c: New. From-SVN: r192703
Terry Guo committed -
PR middle-end/55030 Revert: * stmt.c (expand_nl_goto_receiver): Remove almost-copy of expand_builtin_setjmp_receiver. (expand_label): Adjust, call expand_builtin_setjmp_receiver with NULL for the label parameter. * builtins.c (expand_builtin_setjmp_receiver): Don't clobber the frame-pointer. Adjust comments. [HAVE_builtin_setjmp_receiver]: Emit builtin_setjmp_receiver only if LABEL is non-NULL. From-SVN: r192701
Hans-Peter Nilsson committed -
From-SVN: r192700
GCC Administrator committed
-
- 22 Oct, 2012 24 commits
-
-
gcc: 2012-10-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/55008 * gimple-ssa-strength-reduction.c (find_basis_for_candidate): Don't allow a candidate to be a basis for itself under another interpretation. gcc/testsuite: 2012-10-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com> PR tree-optimization/55008 * gcc.dg/tree-ssa/pr55008.c: New test. From-SVN: r192696
Bill Schmidt committed -
2012-10-22 François Dumont <fdumont@gcc.gnu.org> * include/bits/unordered_set.h (unordered_set<>): Prefer aggregation to inheritance with _Hashtable. (unordered_multiset<>): Likewise. * include/debug/unordered_set (operator==): Adapt. * include/profile/unordered_set (operator==): Adapt. From-SVN: r192695
François Dumont committed -
* config/i386/i386.c (memory_address_length): Added missing part from my previous commit. From-SVN: r192694
Uros Bizjak committed -
2012-10-22 Sharad Singhai <singhai@google.com> * dumpfile.c (dump_phase_enabled_p): Renamed dump_enabled_p. Update all callers. (dump_enabled_p): A new function to check if any of the dump files is available. (dump_kind_p): Remove check for current_function_decl. Add check for dumpfile and alt_dump_file. * dumpfile.h: Add declaration of dump_enabled_p. From-SVN: r192692
Sharad Singhai committed -
re PR lto/55021 (The tests gfortran.dg/integer_exponentiation_5.F90 and masklr_1.F90 are miscompiled with -flto after revision 192529) 2012-10-22 Richard Biener <rguenther@suse.de> PR lto/55021 * tree-streamer-in.c (unpack_ts_int_cst_value_fields): Remove bogus truncations. From-SVN: r192691
Richard Biener committed -
* config/i386/i386.c (memory_address_length): Assert that non-null base or index RTXes are registers. Do not check for REG RTXes. Determine addr32 prefix from original base and index RTXes. Simplify code. From-SVN: r192690
Uros Bizjak committed -
2012-10-22 Richard Biener <rguenther@suse.de> PR tree-optimization/55011 * tree-vrp.c (update_value_range): For invalid lattice transitions drop to VARYING. * gcc.dg/torture/pr55011.c: New testcase. From-SVN: r192689
Richard Biener committed -
* config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Avoid subreg'ing VFP D registers in big-endian mode. From-SVN: r192687
Julian Brown committed -
* doc/invoke.texi (AVR Options): Document __AVR_ARCH__. Note __AVR_<device>__ is not defined for cores. Don't point to --help=target. From-SVN: r192685
Georg-Johann Lay committed -
From-SVN: r192682
Eric Botcazou committed -
gcc/testsuite 2012-10-22 Greta Yorsh <Greta.Yorsh@arm.com> * gcc.target/arm/pr40457-1.c: Adjust expected output. * gcc.target/arm/pr40457-2.c: Likewise. * gcc.target/arm/pr40457-3.c: Likewise. From-SVN: r192681
Greta Yorsh committed -
2012-10-22 Sameera Deshpande <sameera.deshpande@arm.com> Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.c (thumb2_emit_ldrd_pop): New function. (arm_expand_epilogue): Use the new function. Co-Authored-By: Greta Yorsh <greta.yorsh@arm.com> From-SVN: r192680
Sameera Deshpande committed -
2012-10-22 Sameera Deshpande <sameera.deshpande@arm.com> Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.c (thumb2_emit_strd_push): New function. (arm_expand_prologue): Use the new function. Co-Authored-By: Greta Yorsh <greta.yorsh@arm.com> From-SVN: r192679
Sameera Deshpande committed -
2012-10-22 Sameera Deshpande <sameera.deshpande@arm.com> Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm-protos.h (offset_ok_for_ldrd_strd): New declaration. (operands_ok_ldrd_strd): Likewise. * config/arm/arm.c (offset_ok_for_ldrd_strd): New function. (operands_ok_ldrd_strd): Likewise. * config/arm/arm.md (thumb2_ldrd, thumb2_ldrd_base): New patterns. (thumb2_ldrd_base_neg): Likewise. (thumb2_strd, thumb2_strd_base, thumb_strd_base_neg): Likewise. * predicates.md (ldrd_strd_offset_operand): New predicate. * config/arm/constraints.md (Do): New constraint. Co-Authored-By: Greta Yorsh <greta.yorsh@arm.com> From-SVN: r192678
Sameera Deshpande committed -
* config/mmix/mmix.md ("nonlocal_goto_receiver"): Refer to the frame-pointer as an operand. ("*nonlocal_goto_receiver_expanded"): Ditto. Use mmix_output_register_setting instead of naked output_asm_insn for the offset from the frame-pointer to the saved rO. * config/mmix/mmix.c (mmix_output_register_setting): Emit NEGU for values -255..0. * config/mmix/predicates.md ("frame_pointer_operand"): New. * config/mmix/constraints.md ("Yf"): New. From-SVN: r192677
Hans-Peter Nilsson committed -
* stmt.c (expand_nl_goto_receiver): Remove almost-copy of expand_builtin_setjmp_receiver. (expand_label): Adjust, call expand_builtin_setjmp_receiver with NULL for the label parameter. * builtins.c (expand_builtin_setjmp_receiver): Don't clobber the frame-pointer. Adjust comments. [HAVE_builtin_setjmp_receiver]: Emit builtin_setjmp_receiver only if LABEL is non-NULL. From-SVN: r192676
Hans-Peter Nilsson committed -
From-SVN: r192675
Eric Botcazou committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Force BLKmode on the type if it is passed by reference. <E_Array_Subtype>: Likewise. <E_Record_Type>: Guard the call to Is_By_Reference_Type predicate. <E_Record_Subtype>: Likewise. From-SVN: r192673
Eric Botcazou committed -
utils.c (rest_of_record_type_compilation): Simplify and robustify pattern machine code for masking operations. * gcc-interface/utils.c (rest_of_record_type_compilation): Simplify and robustify pattern machine code for masking operations. From-SVN: r192672
Eric Botcazou committed -
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Subprogram_Type>: In type annotation mode, break circularities introduced by AI05-0151. From-SVN: r192671
Eric Botcazou committed -
trans.c (Loop_Statement_to_gnu): Use gnat_type_for_size directly to obtain an unsigned version of the base type. * gcc-interface/trans.c (Loop_Statement_to_gnu): Use gnat_type_for_size directly to obtain an unsigned version of the base type. From-SVN: r192669
Eric Botcazou committed -
decl.c (gnat_to_gnu_entity): Do not generate the special PARM_DECL for an Out parameter in LTO mode. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Out_Parameter>: Do not generate the special PARM_DECL for an Out parameter in LTO mode. From-SVN: r192667
Eric Botcazou committed -
PR bootstrap/54820 * Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable. (all-[+prefix+][+module+]): Pass stage1_args to sub-makes. (all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false. (host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS. * Makefile.in: Regenerate. * configure.ac (have_static_libs): New variable and associated check. (stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++ -static-libgcc if stage1_libs is empty and have_static_libs is yes. * configure: Regenerate. ada/ * gcc-interface/Make-lang.in (GCC_LINK): Remove hardcoded options. From-SVN: r192666
Eric Botcazou committed -
From-SVN: r192664
GCC Administrator committed
-
- 21 Oct, 2012 7 commits
-
-
2012-10-22 Yufeng Zhang <yufeng.zhang@arm.com> Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/configure.xml (--enable-clocale): Document the 'newlib' and 'darwin' options. Minor stylistic improvements. Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> From-SVN: r192661
Yufeng Zhang committed -
* config/i386/i386-protos.h (memory_address_length): Add new bool argument. Update all uses. * config/i386/i386.c (memory_address_length): If not LEA insn, then add length of addr32 prefix based on mode of base or index register. (ix86_attr_length_address_default) <TYPE_LEA>: Do not handle SImode addresses here. Update call to memory_address_length. (ix86_print_address_operand): Use SImode_address_operand predicate. * config/i386/predicates.md (SImode_address_operand): New. * config/i386/i386.md (lea<mode>): Use SImode_address_operand to calculate "mode" attribute. Use SImode_address_operand predicate instead of open-coding accepted RTX codes. From-SVN: r192660
Uros Bizjak committed -
* gnat.dg/specs/atomic1.ads: XFAIL on MIPS. * gnat.dg/specs/addr1.ads: Likewise. From-SVN: r192658
Eric Botcazou committed -
2012-10-21 François Dumont <fdumont@gcc.gnu.org> * include/profile/map.h (map::emplace_hint): Remove invalid parenthesis. From-SVN: r192656
François Dumont committed -
From-SVN: r192654
Joern Rennecke committed -
From-SVN: r192652
Hans-Peter Nilsson committed -
PR rtl-optimization/44194 * calls.c (expand_call): Allow sibling calls in the PARALLEL case. From-SVN: r192651
Eric Botcazou committed
-