This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32295] New: An invalid c code causes an ICE in create_tmp_var, at gimplify.c:489
- From: "kkojima at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2007 00:29:45 -0000
- Subject: [Bug c/32295] New: An invalid c code causes an ICE in create_tmp_var, at gimplify.c:489
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid code snippet fails with
foo.c:4: internal compiler error: in create_tmp_var, at gimplify.c:489
static enum warn overflow;
int foo (int code, tree stmt)
{
if (code == 0 || code > (int) overflow)
code = overflow;
return code;
}
--
Summary: An invalid c code causes an ICE in create_tmp_var, at
gimplify.c:489
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32295