- 22 Oct, 2012 4 commits
-
-
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 9 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 -
* final.c (shorten_branches): When optimizing, start with small length and increase from there, and don't decrease lengths. Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r192634
Joern Rennecke committed -
2012-10-20 Joern Rennecke <joern.rennecke@embecosm.com> Richard Sandiford <rdsandiford@googlemail.com> * emit-rtl.c (copy_delay_slot_insn): New function. * emit-rtl.h (copy_delay_slot_insn): Declare. * reorg.c: Include "emit-rtl.h". (steal_delay_list_from_target): Use copy_delay_slot_insn. (fill_slots_from_thread, fill_simple_delay_slots): Likewise. Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com> From-SVN: r192633
Joern Rennecke committed -
* builtins.def (BUILT_IN_UNREACHABLE): Make ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST. * builtin-attrs.def (ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST): Define. From-SVN: r192632
Jan Hubicka committed -
From-SVN: r192629
Jonathan Wakely committed -
From-SVN: r192628
GCC Administrator committed
-
- 19 Oct, 2012 14 commits
-
-
[gcc] 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com> Dominique Dhumieres <dominiq@lps.ens.fr> * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Don't assume OPTION_MASK_STRICT_ALIGN is defined. (MASK_STRICT_ALIGN): If OPTION_MASK_STRICT_ALIGN is not defined, define this to 0 for the 3 ports that use it. * config/rs6000/rs6000.c (OPTION_MASK_STRICT_ALIGN): Don't do check for ports not having -mstrict-align here, move test to rs6000-cpus.def. (MASK_STRICT_ALIGN): Likewise. (rs6000_debug_reg_global): Print out correct target flag words if -mdebug=reg. [libobjc] 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com> * encoding.c (TARGET_VSX): Provide definitions based on the current compilation options, and not based off the target options structure. (TARGET_ALTIVEC): Likewise. (TARGET_64BIT): Likewise. Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr> From-SVN: r192623
Michael Meissner committed -
2012-10-19 Janus Weil <janus@gcc.gnu.org> PR fortran/54224 * trans-expr.c (conv_function_val): Set TREE_USED. 2012-10-19 Janus Weil <janus@gcc.gnu.org> PR fortran/54224 * gfortran.dg/warn_unused_function.f90: New. From-SVN: r192620
Janus Weil committed -
PR54945 From-SVN: r192617
Marek Polacek committed -
From-SVN: r192616
Jonathan Wakely committed -
2012-10-19 Greta Yorsh <Greta.Yorsh@arm.com> gcc/testsuite/ * gcc.target/arm/target-supports.exp (check_effective_target_arm_prefer_ldrd_strd): New procedure. gcc/ * doc/sourcebuild.texi (Effective-Target Keywords): Document new effective target keyword arm_prefer_ldrd_strd. From-SVN: r192615
Greta Yorsh committed -
* include/std/scoped_allocator (__outermost_alloc_traits): Define. (scoped_allocator_adaptor::destroy): Use it. (scoped_allocator_adaptor::construct): Likewise. Overload for piecewise construction of std::pair objects. * testsuite/20_util/scoped_allocator/2.cc: New. * doc/xml/manual/status_cxx2011.xml: Update. From-SVN: r192613
Jonathan Wakely committed -
2012-10-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/54981 * tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p): Do not consider debug stmts as uses. * gcc.dg/pr54981.c: New testcase. From-SVN: r192612
Richard Guenther committed -
2012-10-19 Richard Biener <rguenther@suse.de> PR tree-optimization/54976 * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Robustify against odd inner_mode inputs. From-SVN: r192611
Richard Biener committed -
gcc/ChangeLog PR target/54892 * config/arm/arm.c (arm_expand_compare_and_swap): Use SImode to make sure the mode is correct when falling through from above cases. gcc/testsuite/ChangeLog PR target/54892 * gcc.target/arm/pr54892.c: New. From-SVN: r192609
Zhenqiang Chen committed -
* gcc.dg/tree-ssa/cunroll-1.c: New testcase. * gcc.dg/tree-ssa/cunroll-2.c: New testcase. * gcc.dg/tree-ssa/cunroll-3.c: New testcase. * gcc.dg/tree-ssa/cunroll-4.c: New testcase. * gcc.dg/tree-ssa/cunroll-5.c: New testcase. From-SVN: r192608
Jan Hubicka committed -
gcc/ChangeLog * common.opt (flag_ira_hoist_pressure): New. * doc/invoke.texi (-fira-hoist-pressure): Describe. * ira-costs.c (ira_set_pseudo_classes): New parameter. * ira.h: Update copyright dates. (ira_set_pseudo_classes): Update prototype. * haifa-sched.c (sched_init): Update call. * ira.c (ira): Update call. * regmove.c: Update copyright dates. (regmove_optimize): Update call. * loop-invariant.c: Update copyright dates. (move_loop_invariants): Update call. * gcse.c: (struct bb_data): New structure. (BB_DATA): New macro. (curr_bb, curr_reg_pressure): New static variables. (should_hoist_expr_to_dom): Rename from hoist_expr_reaches_here_p. Change parameter expr_index to expr. New parameters pressure_class, nregs and hoisted_bbs. Use reg pressure to determine the distance expr can be hoisted. (hoist_code): Use reg pressure to direct the hoist process. (get_regno_pressure_class, get_pressure_class_and_nregs) (change_pressure, calculate_bb_reg_pressure): New. (one_code_hoisting_pass): Calculate register pressure. Allocate and free data. gcc/testsuite/ChangeLog * testsuite/gcc.dg/hoist-register-pressure.c: New test. From-SVN: r192604
Bin Cheng committed -
* gcse.c: Update copyright dates. (hoist_expr_reaches_here_p): Change parameter type from char * to sbitmap. From-SVN: r192603
Bin Cheng committed -
config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". From-SVN: r192600
Sebastian Huber committed -
config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de> * config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*". From-SVN: r192599
Sebastian Huber committed
-