[Bug bootstrap/58340] [4.9 regression] gcc/cp/pt.c:7064:1: internal compiler error: in propagate_threaded_block_debug_into, at tree-ssa-threadedge.c:623
su at cs dot ucdavis.edu
gcc-bugzilla@gcc.gnu.org
Sat Sep 7 03:28:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58340
--- Comment #4 from Zhendong Su <su at cs dot ucdavis.edu> ---
I wasn't able to reproduce the ICE using the given testcase (pt.ii) with trunk
revision 202308, but I encountered an ICE (at -O2 and -O3 with -g) in the same
source location. It's reported as 58342 with the following small reduced test:
----------------------
int a, b, c, d;
int foo (int x, int y)
{
return y == 0 ? x : 1 % y;
}
int main ()
{
c = 0 || a;
for (;;)
b = foo (d, c) && 1;
return 0;
}
More information about the Gcc-bugs
mailing list