seen with 4.3, 4.4 and trunk: $ gcc -c main.i main.c: In function 'main': main.c:22:5: error: void value not ignored as it ought to be main.c:22:5: error: void value not ignored as it ought to be main.c:22:8: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1233 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.
-- Summary: ICE in tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: doko at ubuntu dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43082