This is a split off of PR8081 but is a different problem but this time with the tree dumper (I think), compile the following at -O2 -fdump-tree-all: int main (int argc, char **argv) { int size = 10; int i; typedef struct { char val[size]; } block; block b; block retframe_block () { return *(block *) 0; } b=retframe_block (); return 0; }
-- Summary: ICE in declare_return_variable, at tree-inline.c:906 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21374