This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/22125] New: ICE on invalid code.
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2005 20:11:56 -0000
- Subject: [Bug other/22125] New: ICE on invalid code.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
void foo()
{
struct {
struct a _a;
} c;
}
$ gcc bug.c
bug.c: In function 'foo':
bug.c:4: error: field '_a' has incomplete type
bug.c:5: internal compiler error: tree check: expected class 'type',
have 'exceptional' (error_mark) in gimplify_type_sizes,
at gimplify.c:4491
gcc version 4.1.0 20050619
--
Summary: ICE on invalid code.
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pluto at agmk dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pld-linux
GCC host triplet: i686-pld-linux
GCC target triplet: i686-pld-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22125