[Bug rtl-optimization/51014] [4.7 Regression] ICE: in apply_opt_in_copies, at loop-unroll.c:2283 with -O2 -g -funroll-loops

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 1 16:57:00 GMT 2011


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-01 16:57:13 UTC ---
Author: jakub
Date: Thu Dec  1 16:57:07 2011
New Revision: 181883

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181883
Log:
    PR rtl-optimization/51014
    * loop-unroll.c (apply_opt_in_copies): Ignore label DEBUG_INSNs
    both from bb and orig_bb.

    * g++.dg/opt/pr51014.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr51014.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/loop-unroll.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list