This is the mail archive of the gcc@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]

[tree-ssa] abort in stabilize_call



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


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