$ cat ice.c typedef struct S { unsigned long flags; }S_t; struct dp { S_t c; }; typedef S_t __attribute__((__may_alias__)) cmonkey; static void handler(void *vp) { struct dp *dp; cmonkey *cm = vp; dp->c = *cm; } $ gcc -m32 -std=gnu99 -W -Wall -g3 -c ice.c ice.c:7: internal compiler error: in modified_type_die, at dwarf2out.c:8463 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccakn2Ps.out file, please attach this to your bugreport. $
-- Summary: ICE in modified_type_die Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: acahalan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29436