- 12 Oct, 2009 15 commits
-
-
gcc/ChangeLog: PR debug/41343 PR debug/41447 PR debug/41264 PR debug/41338 * tree.def (DEBUG_EXPR_DECL): New. * rtl.def (DEBUG_EXPR): New. * gengtype.c (adjust_field_rtx_def): Handle it. * tree-ssa.c (propagate_var_def_into_debug_stmts): Rename to... (insert_debug_temp_for_var_def): ... this. Drop support for moving. Take iterator for def stmt; insert debug stmt before it. Scan early for use count and kind in debug stmts. (propagate_defs_into_debug_stmts): Rename to... (insert_debug_temps_for_defs): ... this. Likewise. * tree.h (DEBUG_TEMP_UID): New. * tree.c (next_debug_decl_uid): New. (make_node_stat): Count debug decls separately. (copy_node_stat): Likewise. * cfgexpand.c (expand_debug_expr): Handle DEBUG_EXPR_DECL. * var-tracking.c (dv_is_decl_p): Recognize it. (VALUE_RECURSED_INTO): Apply to DEBUG_EXPRs too. (track_expr_p): Track expanded DEBUG_EXPR_DECLs. (vt_expand_loc_callback): Expand DEBUG_EXPRs. (emit_note_insn_var_location): Don't emit notes for DEBUG_EXPR_DECLs. * cselib.c (rtx_equal_for_cselib_p): Handle DEBUG_EXPR. (cselib_hash_rtx): Likewise. (cselib_expand_value_rtx_1): Use callback for DEBUG_EXPR. * tree-ssa-operands.c (get_expr_operands): Skip DEBUG_EXPR_DECLs in debug bind stmts. * emit-rtl.c (verify_rtx_sharing): Handle DEBUG_EXPR and VALUE. (copy_rtx_if_shared_1, reset_used_flags, set_used_flags): Likewise. * rtl.c (copy_rtx): Likewise. (rtx_equal_p_cb, rtx_equal_p): Handle DEBUG_EXPR. * print-rtl.c (print_rtx): Likewise. * sched-vis.c (print_value): Likewise. (print_insn): Handle DEBUG_EXPR_DECL. * tree-dump.c (dequeue_and_dump): Likewise. * tree-pretty-print.c (dump_decl_name, dump_generic_node): Likewise. * gimple-iterator (gsi_replace): Check for same lhs. (gsi_remove): Insert debug temps. * tree-ssa-loop-im.c (rewrite_reciprocal): Replace with same lhs. (move_computations_stmt): Drop explicit propagation into debug stmts. (rewrite_bittest): Likewise. Use gsi_remove for propagation. * tree-ssa-reassoc.c (rewrite_expr_tree, linearize_expr): Likewise. * tree-ssa-sink.c (statement_sink_location): Likewise. * tree-ssa-forwprop (forward_propagate_addr_expr): Likewise. * tree-ssanames.c (release_ssa_name): Adjust for rename. * tree-flow.h: Likewise. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Don't mark debug temps without values. (eliminate_unnecessary_stmts): Don't discard just-inserted debug stmts. gcc/testsuite/ChangeLog: PR debug/41343 PR debug/41447 PR debug/41264 PR debug/41338 * gcc.dg/guality/pr41447-1.c: New. * gcc.dg/debug/pr41264-1.c: New. * gcc.dg/debug/pr41343-1.c: New. From-SVN: r152681
Alexandre Oliva committed -
PR target/26515 * gcc.dg/torture/pr26515.c: New test. From-SVN: r152677
Hans-Peter Nilsson committed -
PR target/26515 * config/cris/cris.md (andu): Check that operand 1 is one of the general registers. Fix typo in head comment. From-SVN: r152676
Hans-Peter Nilsson committed -
From-SVN: r152672
Janis Johnson committed -
PR testsuite/41659 * gcc.dg/lto/20090914-2.c: Use dg-skip-if to skip test. * lib/lto.exp (lto-get-options-main): Report error for using "target" or "xfail" with dg-lto-dg. From-SVN: r152671
Janis Johnson committed -
2009-10-12 Stefan Dösinger <stefan@codeweavers.com> * config/i386/i386.md (vswapmov): New. * config/i386/i386.c (ix86_handle_fndecl_attribute): New. (ix86_function_ms_hook_prologue): New. (ix86_expand_prologue): Handle ms_hook_prologue attribute. * configure.ac: Test for swap suffix support in as. * configure: Rebuild. From-SVN: r152670
Stefan Dösinger committed -
* gcc.dg/plugin/one_time_plugin.c: Update test to use the cfg pass. From-SVN: r152669
Michael Matz committed -
PR target/41680 * config/i386/i386.md (split after *testqi_ext_3_rex64): Only narrow paradoxical subregs to prevent partial register stalls if the inner mode is integer mode. * g++.dg/torture/pr41680.C: New test. From-SVN: r152665
Jakub Jelinek committed -
* config/i386/i386.md (*setcc_<mode>_2): Do not use ix86_expand_clear to zero operand 0. From-SVN: r152664
Uros Bizjak committed -
gcc/ChangeLog: PR c++/41570 * gcc/dwarf2out.c (template_parameter_pack_die, gen_formal_parameter_pack_die): Use add_name_and_src_coords_attributes. gcc/testsuite/ChangeLog: PR c++/41570 * gcc/testsuite/g++.dg/debug/dwarf2/template-params-7.C: New test. From-SVN: r152663
Dodji Seketeli committed -
re PR debug/41616 (Variables promoted to Gimple registers by aliasing are not getting debug statements.) gcc/ChangeLog: PR debug/41616 * tree-into-ssa.c (insert_phi_nodes_for): Build debug bind stmts on updates too. (maybe_register_def): Likewise. Take stmt iterator. (rewrite_update_stmt): Take stmt iterator and pass it on. (rewrite_update_enter_block): Pass stmt iterator. gcc/testsuite/ChangeLog: PR debug/41616 * gcc.dg/guality/pr41616-1.c: New. From-SVN: r152662
Alexandre Oliva committed -
PR c++/37204 * typeck.c (build_reinterpret_cast_1): Handle rvalue refs properly. From-SVN: r152661
Jason Merrill committed -
2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/38439 * gfortran.dg/fmt_error_9.f: New test. * gfortran.dg/fmt_error_10.f: New test. From-SVN: r152658
Jerry DeLisle committed -
2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/38439 * io/format.c (parse_format_list): Correct logic for FMT_F reading vs writing. Code clean-up. From-SVN: r152657
Jerry DeLisle committed -
From-SVN: r152656
GCC Administrator committed
-
- 11 Oct, 2009 15 commits
-
-
2009-10-11 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/spu/spu.c (TARGET_BUILTIN_DECL): Define. (spu_builtin_decl): New function. From-SVN: r152651
Andrew Pinski committed -
* config/i386/i386.md (SWIM): New mode iterator. (mov<mode>cc): Macroize expander from mov{qi,hi,si,di}cc patterns using SWIM mode iterator. (x86_mov<mode>cc_0_m1): Macroize insn from x86_mov{si,di}cc_0_m1 patterns using SWI48 mode iterator. (*x86_mov<mode>cc_0_m1_se): Macroize insn from *x86_mov{si,di}cc_0_m1_se patterns using SWI48 mode iterator. (*x86_mov<mode>cc_0_m1_neg): New insn pattern. (*mov<mode>cc_noc): Macroize insn from *mov{hi,si,di}cc_noc patterns using SWI248 mode iterator. * config/i386/i386.c (ix86_expand_int_movcc): Update the call to gen_x86_movdicc_0_m1_rex64 for renamed function From-SVN: r152650
Uros Bizjak committed -
PR target/33743 * config/sparc/sol2.h (MD_UNWIND_SUPPORT): Define. * config/sparc/sol2-unwind.h: New file. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r152649
Jose Ruiz committed -
PR target/33743 * config/i386/sol2.h (MD_UNWIND_SUPPORT): Define. * config/i386/sol2-unwind.h: New file. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r152648
Olivier Hainque committed -
2009-10-11 H.J. Lu <hongjiu.lu@intel.com> PR target/41665 * config/i386/i386.md (addsi_1_zext): Get the proper second operand for lea. From-SVN: r152647
H.J. Lu committed -
gcc/ * simplify-rtx.c (simplify_replace_rtx): Use rtx_equal_p for all OLD_RTXes, not just REGs. Use copy_rtx to create the replacement value. From-SVN: r152646
Richard Sandiford committed -
2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/38439 * io.c (check_format): Fix locus for error messages and fix a comment. From-SVN: r152645
Jerry DeLisle committed -
2009-10-11 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/38439 * io/format.c (parse_format_list): Add check for tokens not allowed after P specifier. Fix comments. Remove un-needed code. Fix the default exponent list. Correct pointer assignment error. From-SVN: r152644
Jerry DeLisle committed -
2009-10-11 Richard Guenther <rguenther@suse.de> * gimple.c (iterative_hash_type_name): Do not handle special anonymous names. cp/ * tree.c (cp_free_lang_data): Drop anonymous aggregate names. From-SVN: r152643
Richard Guenther committed -
* config/i386/i386.md (*setcc_di_1): New insn_and_split pattern. (*setcc_si_1_and): Ditto. (*setcc_si_1_movzbl): Ditto. (*setcc_<mode>_2): Ditto. (*setcc_qi): Rename from *setcc_1. (*setcc_qi_slp): Rename from *setcc_2. (*zero_extendqihi2_movzbw_and splitter): Use ix86_expand_clear. (*zero_extendqisi2_movzbw_and splitter): Ditto. * config/i386/i386.c (ix86_expand_clear): Remove reload_completed from "if" condition, there is already assert with reload_completed present. From-SVN: r152642
Uros Bizjak committed -
2009-10-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/41583 * decl.c (hash_value): New function. (gfc_match_derived_decl): Call it. 2009-10-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/41583 * gfortran.dg/class_4a.f03: New test with class_4b,c and d.f03. * gfortran.dg/class_4b.f03: As above. * gfortran.dg/class_4c.f03: As above. * gfortran.dg/class_4d.f03: As above. From-SVN: r152641
Paul Thomas committed -
2009-10-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/40440 * decl.c (hash_value): New function. (gfc_match_derived_decl): Call it. 2009-10-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/40440 * gfortran.dg/class_4a.f03: New test with class_4b,c and d.f03. * gfortran.dg/class_4b.f03: As above. * gfortran.dg/class_4c.f03: As above. * gfortran.dg/class_4d.f03: As above. From-SVN: r152640
Paul Thomas committed -
2009-10-11 Richard Guenther <rguenther@suse.de> PR tree-optimization/41555 * gcc.dg/torture/pr41555.c: New testcase. From-SVN: r152639
Richard Guenther committed -
* plugin.c (try_init_one_plugin): Improve constness of variable err. From-SVN: r152638
Gerald Pfeifer committed -
From-SVN: r152635
GCC Administrator committed
-
- 10 Oct, 2009 10 commits
-
-
2009-10-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/35862 * gfortran.dg/round_2.f03: Eliminate possible compile error. Use max function correctly. From-SVN: r152632
Jerry DeLisle committed -
From-SVN: r152631
Jason Merrill committed -
* README: Refer to the various COPYING* files instead of just COPYING. Refer to http://gcc.gnu.org/bugs/ for bug reporting instructions. From-SVN: r152630
Gerald Pfeifer committed -
http://gcc.gnu.org/bugs/
* doc/install.texi (Final install): Refer to http://gcc.gnu.org/bugs/ for bug reporting. From-SVN: r152629
Gerald Pfeifer committed -
-
2009-10-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/35862 * gfortran.dg/round_2.f03: Eliminate possible compile error. From-SVN: r152627
Jerry DeLisle committed -
* configure.ac: Add test for dci instruction. * configure: Regenerate. * config.in: Likewise. * config.gcc: Handle --with-cpu=476 and --with-cpu=476fp. * doc/invoke.texi: Add cpu_type 476 and 476fp. (-mmulhw): Add 476 to description. (-mdlmzb): Likewise. * config/rs6000/t-fprules (MULTILIB_MATCHES_FLOAT): Include -mcpu=476. * config/rs6000/rs6000.c (processor_costs): Add ppc476_cost. (processor_target_table): Add 476 and 476fp entries. (rs6000_override_options): Use ppc476_cost for PROCESSOR_PPC476. (rs6000_issue_rate): Add CPU_PPC476. * config/rs6000/rs6000.h (ASM_CPU_476_SPEC): Define. (ASM_CPU_SPEC): Pass %(asm_cpu_476) for -mcpu=476 and -mcpu=476fp. (processor_type): Add PROCESSOR_PPC476. (EXTRA_SPECS): Add asm_cpu_476 string. * config/rs6000/rs6000.md: (define_attr "type"): Add isel attribute. (define_attr "cpu"): Add ppc476. Include 476.md. Update comments for 476. (isel_signed, isel_unsigned): Change to use "isel" type attribute. * config/rs6000/vxworks.h (CPP_SPEC): Handle 464 and 476. Update copyright year. * config/rs6000/476.md: New file. * config/rs6000/40x.md: Add description for "isel" attribute. Update copyright year. * config/rs6000/440.md: Likewise. * config/rs6000/603.md: Likewise. * config/rs6000/6xx.md: Likewise. * config/rs6000/7450.md: Likewise. * config/rs6000/7xx.md: Likewise. * config/rs6000/8540.md: Likewise. * config/rs6000/cell.md: Likewise. * config/rs6000/e300c2c3.md: Likewise. * config/rs6000/e500mc.md: Likewise. * config/rs6000/mpc.md: Likewise. * config/rs6000/power4.md: Likewise. * config/rs6000/power5.md: Likewise. * config/rs6000/power6.md: Likewise. * config/rs6000/power7.md: Likewise. * config/rs6000/rios1.md: Likewise. * config/rs6000/rios2.md: Likewise. * config/rs6000/rs64.md: Likewise. From-SVN: r152626
Peter Bergner committed -
From-SVN: r152625
Jerry DeLisle committed -
2009-10-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/41612 * gfortran.dg/round_2.f03: Update test to also test for smaller kind. Add conditions to avoid runtime errors if not supported. From-SVN: r152624
Jerry DeLisle committed -
2009-10-10 Richard Guenther <rguenther@suse.de> PR tree-optimization/41654 * tree-ssa-ifcombine.c (ifcombine_ifandif): Properly canonicalize a cond expr before calling gimple_cond_set_condition_from_tree. (ifcombine_iforif): Likewise. * gfortran.fortran-torture/compile/pr41654.f90: New testcase. From-SVN: r152620
Richard Guenther committed
-