This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/21374] 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: 6 Aug 2005 15:05:58 -0000
- Subject: [Bug tree-optimization/21374] ICE in declare_return_variable, at tree-inline.c:906
- References: <20050504023004.21374.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-06 15:05 -------
A slight change to the source makes this ICE on the mainline:
int
main (int argc, char **argv)
{
int size = 10;
int i;
typedef struct
{
char val[size];
}
block;
block b;
block retframe_block ()
{
return *(block *) &b;
}
b=retframe_block ();
return 0;
}
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-06 15:05:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21374