Re: [Development] QImage miscompilation with gcc

2015-02-04 Thread Konstantin Tokarev
04.02.2015, 13:12, "Martin Koller" : > I've found a very strange (and serious) miscompilation of QImage with g++ > > In qimage.cpp there is a simple line (3584 in Qt-5.3.2): > d->paintEngine = paintEngine ? paintEngine : new > QRasterPaintEngine(paintDevice); > which results in 0(!). The

[Development] QImage miscompilation with gcc

2015-02-04 Thread Martin Koller
I've found a very strange (and serious) miscompilation of QImage with g++ In qimage.cpp there is a simple line (3584 in Qt-5.3.2): d->paintEngine = paintEngine ? paintEngine : new QRasterPaintEngine(paintDevice); which results in 0(!). The return value of this method QImage::paintEngine()