This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17397] New: gimplify ICE
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2004 14:13:02 -0000
- Subject: [Bug middle-end/17397] New: gimplify ICE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
extern unsigned long strlen (__const char *__s);
extern void bar ();
extern int cols;
void foo (void)
{
char s[cols + 2];
if (strlen (s) > 0)
bar ();
}
$ ./cc1 -quiet t.i
t.i: In function `foo':
t.i:8: internal compiler error: in check_pointer_types_r, at gimplify.c:4216
Happens on at least ia64, amd64.
--
Summary: gimplify ICE
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: steven at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17397