- 19 Mar, 2010 21 commits
-
-
* optabs.c (avoid_expensive_constant): Fix formatting. From-SVN: r157584
Bernd Schmidt committed -
* gcc.target/arm/thumb-andsi.c: Correct dg-options and add dg-require-effective-target. From-SVN: r157583
Bernd Schmidt committed -
gcc/ PR target/40697 * optabs.c (avoid_expensive_constant): Use rtx_cost to find out the cost of loading the constant rather than assuming COSTS_N_INSNS (1). * config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the outer code is AND, do the same tests as the andsi3 expander and return COSTS_N_INSNS (1) if and is cheap. testsuite/ PR target/40697 * gcc.target/arm/thumb-andsi.c: New test. From-SVN: r157582
Bernd Schmidt committed -
gcc/ PR rtl-optimization/42258 * ira-lives.c (check_and_make_def_conflict): Ignore conflict for a use that may match DEF. testsuite/ PR rtl-optimization/42258 * gcc.target/arm/thumb1-mul-moves.c: New test. From-SVN: r157581
Bernd Schmidt committed -
PR c++/43116 * attribs.c (decl_attributes): When rebuilding a function pointer type use the same qualifiers as the original pointer type. testsuite/ * g++.dg/other/pr43116.C: New testcase. From-SVN: r157578
Michael Matz committed -
gimple.texi (Logical Operators): Describe is_gimple_ip_invariant and is_gimple_ip_invariant_address. 2010-03-19 Martin Jambor <mjambor@suse.cz> * doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant and is_gimple_ip_invariant_address. From-SVN: r157576
Martin Jambor committed -
2010-03-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Revert 2009-10-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.c (arm_override_options): Turn off flag_dwarf2_cfi_asm for AAPCS variants. From-SVN: r157575
Ramana Radhakrishnan committed -
Fix PR target/43399 2010-03-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/43399 * config/arm/arm.c (emit_multi_reg_push): Update comments. Use PRE_MODIFY instead of PRE_DEC. (emit_sfm): Use PRE_MODIFY instead of PRE_DEC. (vfp_emit_fstmd): Likewise. From-SVN: r157574
Ramana Radhakrishnan committed -
From-SVN: r157573
Bruce Korb committed -
2010-03-19 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/17_intro/freestanding.cc: Avoid -Wall warnings. From-SVN: r157572
Paolo Carlini committed -
2010-03-19 Rodolfo Lima <rodolfo@rodsoft.org> * include/bits/shared_ptr.h (shared_ptr(unique_ptr&&), shared_ptr(auto_ptr&&)): Remove explicit specifier (as per DR 925). * include/bits/shared_ptr_base.h: Likewise. * testsuite/20_util/shared_ptr/creation/dr925.cc: New. From-SVN: r157570
Rodolfo Lima committed -
PR 43305 * builtins.c (expand_builtin_interclass_mathfn, expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls if that fails. testsuite/ * gcc.dg/pr43305.c: New testcase. From-SVN: r157567
Michael Matz committed -
2010-03-19 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/random.tcc: Minor formatting changes. 2010-03-19 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_algo.h (shuffle): Fix typo in signature. * include/bits/algorithmfwd.h: Adjust. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/pod.cc: Likewise. From-SVN: r157565
Paolo Carlini committed -
2010-03-19 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_algo.h (shuffle): Add, per D3056. (random_shuffle): Fix signature in C++0x mode. (lower_bound, __lg): Move... * include/bits/stl_algobase.h: ... here. * include/bits/algorithmfwd.h: Adjust. * include/parallel/algorithmfwd.h: Likewise. * include/parallel/algo.h: Likewise. * include/bits/hashtable_policy.h (__lower_bound): Remove, adjust callers. * include/tr1/hashtable_policy.h (__lower_bound): Likewise. * include/bits/random.tcc (__detail::__transform): Add, adjust std::transform callers; don't include <algorithm>. * testsuite/25_algorithms/shuffle/1.cc: Add. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/shuffle/requirements/ explicit_instantiation/pod.cc: Likewise. * include/bits/random.h: Add comments. From-SVN: r157564
Paolo Carlini committed -
PR ada/42554 * configure.ac: Only pass -c to ranlib for darwin9 and earlier. * configure: Regenerate. From-SVN: r157563
Jack Howarth committed -
2010-03-19 Richard Guenther <rguenther@suse.de> PR tree-optimization/43415 * tree-ssa-pre.c (phi_translate): Split out worker to ... (phi_translate_1): ... this. (phi_translate): Move all caching here. Cache all NARY and REFERENCE translations. * gcc.c-torture/compile/pr43415.c: New testcase. From-SVN: r157562
Richard Guenther committed -
From-SVN: r157561
Mike Stump committed -
From-SVN: r157560
Mike Stump committed -
PR ada/43106 * gnat.dg/case_optimization2.adb: New test. * gnat.dg/case_optimization_pkg2.ad[sb]: New helper. From-SVN: r157558
Eric Botcazou committed -
* config/sparc/sparc.c: Include dwarf2out.h. (emit_pic_helper): Delete. (pic_helper_symbol_name): Delete. (pic_helper_emitted_p): Delete. (pic_helper_needed): New. (USE_HIDDEN_LINKONCE): Define to '1' if HAVE_GAS_HIDDEN else '0'. (get_pc_thunk_name): New. (load_pic_register): Remove 'delay_pic_helper' arg. Use get_thunk_pc_name and ggc_strdup to generate PIC thunk symbol. Set pic_helper_needed to true. Don't call emit_pic_helper. (sparc_expand_prologue): Update load_pic_register call. (sparc_output_mi_thunk): Likewise. (sparc_file_end): Emit a hidden comdat symbol for the PIC thunk if possible. Output CFI information as needed. From-SVN: r157557
David S. Miller committed -
From-SVN: r157556
GCC Administrator committed
-
- 18 Mar, 2010 19 commits
-
-
2010-03-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> Jack Howarth <howarth@bromo.med.uc.edu> PR target/36399 * gcc/config/i386/i386.h: Fix ABI on darwin x86-32. * gcc/testsuite/gcc.target/i386/push-1.c: Don't xfail scan-assembler-not "movups" on darwin. Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu> From-SVN: r157553
Francois-Xavier Coudert committed -
re PR fortran/43039 ([lto/-fwhole-file] fortran-dev - ICE in gfc_conv_component_ref dynamic_dispatch_5.f03) 2010-03-18 Paul Thomas <pault@gcc.gnu.org> PR fortran/43039 * trans-expr.c (conv_parent_component_references): Ensure that 'dt' has a backend_decl. PR fortran/43043 * trans-expr.c (gfc_conv_structure): Ensure that the derived type has a backend_decl. PR fortran/43044 * resolve.c (resolve_global_procedure): Check that the 'cl' structure is not NULL. From-SVN: r157552
Paul Thomas committed -
* tree.h: Declare make_decl_rtl_for_debug. * varasm.c (make_decl_rtl_for_debug): New. * dwarf2out.c (rtl_for_decl_location): Call it. * cfgexpand.c (expand_debug_expr): Call it. From-SVN: r157551
Aldy Hernandez committed -
PR bootstrap/43399 * var-tracking.c (adjust_mems) <case POST_MODIFY>: Allow BLKmode mem_mode. From-SVN: r157550
Jakub Jelinek committed -
PR bootstrap/43403 * var-tracking.c (vt_init_cfa_base): Do nothing if cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed register. From-SVN: r157549
Jakub Jelinek committed -
PR debug/42873 * var-tracking.c (canonicalize_vars_star): New. (dataflow_post_merge_adjust): Use it. From-SVN: r157548
Alexandre Oliva committed -
PR debug/43058 * var-tracking.c (non_suitable_const): New function. (add_uses): For DEBUG_INSNs with constants, don't record any value, instead just the constant value itself. (compute_bb_dataflow) <case MO_VAL_LOC>: If PAT_VAR_LOCATION_LOC is not VAR_LOC_UNKNOWN_P, set var to the constant. (emit_notes_in_bb): Likewise. (emit_note_insn_var_location): For onepart variables if cur_loc is a VOIDmode constant, use DECL_MODE. * gcc.dg/pr43058.c: New test. From-SVN: r157547
Jakub Jelinek committed -
2010-03-18 Martin Jambor <mjambor@suse.cz> PR middle-end/42450 * cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare. * cgraphunit.c (cgraph_materialize_all_clones): Update calls in all non-clones. Moved call redirection... (cgraph_redirect_edge_call_stmt_to_callee): ...to this new function. (cgraph_materialize_all_clones): Dispose of all combined_args_to_skip bitmaps. (verify_cgraph_node): Do not check for edges pointing to wrong nodes in inline clones. * tree-inline.c (copy_bb): Call cgraph_redirect_edge_call_stmt_to_callee. * ipa.c (cgraph_remove_unreachable_nodes): Call cgraph_node_remove_callees even when there are used clones. * testsuite/g++.dg/torture/pr42450.C: New test. From-SVN: r157546
Martin Jambor committed -
2010-03-18 H.J. Lu <hongjiu.lu@intel.com> * config/i386/libgcc-glibc.ver: Make GCC_4.5.0 inherit GCC_4.4.0. From-SVN: r157545
H.J. Lu committed -
2010-03-18 H.J. Lu <hongjiu.lu@intel.com> PR target/43383 * config/i386/libgcc-glibc.ver: Add __extendxftf2 to GCC_4.5.0 for 32bit. From-SVN: r157544
H.J. Lu committed -
PR middle-end/43419 * builtins.c (expand_builtin_pow): Don't transform pow(x, 0.5) into sqrt(x) if we need to preserve signed zeros. testsuite/ * gcc.dg/pr43419.c: New testcase. From-SVN: r157543
Michael Matz committed -
gcc/ 2010-03-18 Steven Bosscher <steven@gcc.gnu.org> Eric Botcazou <ebotcazou@adacore.com> PR rtl-optimization/43360 * loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL note if we don't know its invariant status. gcc/testsuite/ 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/43360 * gcc.dg/torture/pr43360.c: New. From-SVN: r157539
H.J. Lu committed -
PR tree-optimization/43402 * tree-cfgcleanup.c (cleanup_control_expr_graph): Don't follow PHI chains of ssa names registered for update. testsuite/ * gcc.dg/pr43402.c: New testcase. From-SVN: r157538
Michael Matz committed -
re PR c++/43418 (trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement) 2010-03-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/43418 * parser.c (cp_parser_for_init_statement): Use NULL_TREE, not false, in the cp_parser_expression_statement call. From-SVN: r157537
Paolo Carlini committed -
re PR c++/43418 (trunk rev157534. compile c++ with --enable-build-with-cxx fails in cp_parser_for_init_statement) 2010-03-18 Paolo Carlini <paolo.carlini@oracle.com> PR c++/43418 * parser.c (cp_parser_for_init_statement): Use NULL_TREE, not false, in the cp_parser_expression_statement call. From-SVN: r157536
Paolo Carlini committed -
2010-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> * io/transfer.c (read_sf_internal): Remove stray function declaration used during debigging. From-SVN: r157531
Jerry DeLisle committed -
gcc/ PR target/42427 * config/rs6000/rs6000.c (rs6000_split_multireg_move): Add support for non-offsettable and pre_modify update addressing. * config/rs6000/dfp.md (*movdd_hardfloat32): Make the "0", "1" and "2" alternatives "#". (*movdd_softfloat32): Make all alternatives "#"; * config/rs6000/rs6000.md (DIFD): New define_mode_iterator. (*movdf_hardfloat32): Make the "0", "1" and "2" alternatives "#". (*movdf_softfloat32): Make all alternatives "#"; (movdi): Use the new DIFD mode iterator to create a common splitter for movdi, movdf and movdd patterns. gcc/testsuite/ PR target/42427 * gcc.dg/pr42427.c: New test. From-SVN: r157530
Peter Bergner committed -
gcc/ 2010-03-18 Shujing Zhao <pearly.zhao@oracle.com> * common.opt (dumpdir): Remove redundant tab. gcc/fortran 2010-03-18 Shujing Zhao <pearly.zhao@oracle.com> * lang.opt (-ffixed-line-length-, ffree-line-length-): Remove redundant tab. From-SVN: r157529
Shujing Zhao committed -
2010-03-17 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/43265 *gfortran.dg/read_empty_file.f: New test. *gfortran.dg/read_eof_all.f90: New test. *gfortran.dg/namelist_27.f90: Eliminate infinite loop posibility. *gfortran.dg/namelist_28.f90: Eliminate infinite loop posibility. From-SVN: r157528
Jerry DeLisle committed
-