http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52820
Bug #: 52820
Summary: [4.8 Regression] ICE in create_preheader, at
cfgloopmanip.c:1363
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: [email protected]
ReportedBy: [email protected]
% cat test.i
int **fn1 () __attribute__ ((__const__));
main () {
int i;
i = 0;
for (;; i++)
if (*fn1 ()[i] && !'a' <= 0 && i <= 'z' || *fn1 ()[0] && 'a' <= 'z')
return;
}
% gcc -c -O2 -fprofile-use test.i
test.i: In function ‘main’:
test.i:8:1: note: file /var/tmp/test.gcda not found, execution counts estimated
test.i:2:1: internal compiler error: in create_preheader, at
cfgloopmanip.c:1363