This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21374] New: ICE in declare_return_variable, at tree-inline.c:906
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 May 2005 02:30:06 -0000
- Subject: [Bug tree-optimization/21374] New: ICE in declare_return_variable, at tree-inline.c:906
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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