This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/21374] ICE in declare_return_variable, at tree-inline.c:906


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]