[Bug tree-optimization/38153] ICE in testcase when compiled with -ftree-parallelize-loops

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Wed Oct 20 14:52:00 GMT 2010


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

Zdenek Sojka <zsojka at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zsojka at seznam dot cz

--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> 2010-10-20 14:52:32 UTC ---
A bit different testcase, crashes on x86_64-pc-linux-gnu, r165719

----- testcase.c -----
void
foo (void **a, int i)
{
  while (i--)
    a[i] = &&label;
label:;
}
----------------------

$ gcc -O -ftree-parallelize-loops=2 testcase.c
testcase.c: In function 'foo':
testcase.c:2:1: error: label 
label has incorrect context in bb 6testcase.c:2:1: internal compiler error:
verify_flow_info failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

-ftree-parallelize-loops=N, crashes for N>=2



More information about the Gcc-bugs mailing list