- 22 Oct, 2012 23 commits
-
-
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 13 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 -
gcc/ 2012-10-21 Tobias Burnus <burnus@net-b.de> PR fortran/54725 * Makefile.in (TARGET_SYSTEM_ROOT_DEFINE): New. gcc/fortran 2012-10-21 Tobias Burnus <burnus@net-b.de> PR fortran/54725 * Make-lang.in (CFLAGS-cpp.o): Use TARGET_SYSTEM_ROOT_DEFINE. * cpp.o (gfc_cpp_init_options): Use it for setting gfc_cpp_option.sysroot. From-SVN: r192650
Tobias Burnus committed -
2012-10-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/54465 * lang.opt (Wextra): Add. * invoke.texi: Document that -Wc-binding-type, -Wconversion and -Wline-truncation are implied by -Wall. Document that -Wcompare-reals is implied by -Wextra. Document -Wextra. * options.c (set_Wextra): New function. (gfc_handle_option): Handle -Wextra. 2012-10-21 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/54465 * gfortran.dg/wextra_1.f: New test. From-SVN: r192649
Thomas Koenig committed -
2012-10-21 Chung-Lin Tang <cltang@codesourcery.com> * config/xtensa/xtensa.c (xtensa_expand_builtin): Remove unused 'arg' variable. From-SVN: r192648
Chung-Lin Tang committed -
* testsuite/23_containers/bitset/45713.cc: Skip for mmix-*-*. Tweak sizetype-related comment. From-SVN: r192647
Hans-Peter Nilsson committed -
* config/mmix/crti.S: Mark program and data addresses using PRELD. Remove typo'd and unnecessary alignment-LOC for .data. Remove no-longer-needed LDBU insns. From-SVN: r192646
Hans-Peter Nilsson committed -
From-SVN: r192644
GCC Administrator committed
-
- 20 Oct, 2012 4 commits
-
-
PR rtl-optimization/54315 * calls.c (expand_call): Don't deal specifically with BLKmode values returned in naked registers. * expr.h (copy_blkmode_from_reg): Adjust prototype. * expr.c (copy_blkmode_from_reg): Rename first parameter into TARGET and make it required. Assert that SRCREG hasn't BLKmode. Add a couple of short-circuits for common cases and be prepared for sub-word registers. (expand_assignment): Call copy_blkmode_from_reg for BLKmode values returned in naked registers. (store_expr): Likewise. (store_field): Likewise. From-SVN: r192641
Eric Botcazou committed -
* gcc.dg/tree-prof/unroll-1.c: New testcase. * loop-unroll.c (decide_unroll_constant_iterations): Don't perform unrolling for loops with low iterations bounds or estimates. From-SVN: r192638
Jan Hubicka committed -
loop-iv.c (iv_number_of_iterations): Record the upper bound only if there are no further conditions on it. * loop-iv.c (iv_number_of_iterations): Record the upper bound only if there are no further conditions on it. From-SVN: r192636
Jan Hubicka committed -
2012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/53063 PR c/40989 c-family/ * c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit, Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess, Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point, Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused, Wvolatile-register-var): Add LangEnabledBy or EnabledBy. * c-opts.c (c_common_handle_option): Remove explicit handling from here. (c_common_post_options): Likewise. gcc/ * opts.c (finish_options): Remove explicit handling from here. From-SVN: r192635
Manuel López-Ibáñez committed
-