http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54919



--- Comment #5 from Steven Bosscher <steven at gcc dot gnu.org> 2012-10-14 
19:29:22 UTC ---

Author: steven

Date: Sun Oct 14 19:29:18 2012

New Revision: 192439



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192439

Log:

gcc/

    PR rtl-optimization/54919

    * loop-unroll.c (struct var_to_expand): Remove accum_pos field.

    (analyze_insn_to_expand_var): Do not record accum_pos.

    (expand_var_during_unrolling): Use validate_replace_rtx_group to

    perform replacement of all references to SET_DEST (set) with the

    new register, including references in REG_EQUAL notes.

    (insert_var_expansion_initialization): Insert initializatio insns

    at the bottom of the pre-header of the loop.



testsuite/

    PR rtl-optimization/54919

    * gcc.dg/pr54919.c: New testcase.





Added:

    trunk/gcc/testsuite/gcc.dg/pr54919.c

Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/loop-unroll.c

    trunk/gcc/testsuite/ChangeLog

Reply via email to