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/27830] [4.2 regression] ICE: verify_stmts failed (invalid operand to unary operator)



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-05-31 07:53 -------
Confirmed, reduced testcase:
struct gc{};
struct transform:public gc
{
    double x, y, z, t;
    transform (void){}
};
inline transform f (void)
{
    return transform ();
};
void transformed (void)
{
    new transform (f());
}

------------------------------------------------
This is return slot related and inline related, we have:
  *D.2030 = f () [return slot optimization];
........
  __comp_ctor  (&<retval>);
  return <retval>;


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
  GCC build triplet|powerpc-linux-gnu           |
   GCC host triplet|powerpc-linux-gnu           |
 GCC target triplet|powerpc-linux-gnu           |
   Last reconfirmed|0000-00-00 00:00:00         |2006-05-31 07:53:03
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27830


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