[tree-ssa] abort in stabilize_call

law@redhat.com law@redhat.com
Wed Mar 10 04:17:00 GMT 2004



The attached code aborts on the tree-ssa branch as we pass an unexpected
tree node to stabilize_call.

class QImage;
class KImageCanvas
{
public:
  void pixmap();
  QImage * m_image;
};
class QImage
{
public:
    QImage xForm( const int &matrix ) const;
};
class KPixmap
{
};
extern int frob ();
void KImageCanvas::pixmap()
{
   new QImage(frob () ? *m_image :m_image->xForm( 20 )) ;
}


Mainline compiles it fine, most likely because it doesn't call stabilize_init
from build_new_1.

This is causing a few packages in FC2-test1 to not build with the tree-ssa
compiler.

jeff



More information about the Gcc mailing list