This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
mainline problem
- From: Jeremy Sanders <jss at ast dot cam dot ac dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 23 Aug 2003 09:29:23 +0100 (BST)
- Subject: mainline problem
I just tried to build qt-x11-free-3.2.0 using mainline gcc (gcc built on
RH 9 GNU/Linux distribution).
Reading specs from /data/gcc-3.4/lib/gcc/i686-pc-linux-gnu/3.4/specs
Configured with: '/data/gcc-3.4/tmp/gcc/configure' '--prefix=/data/gcc-3.4
'--enable-languages=c,c++ '--enable-threads
Thread model: posix
gcc version 3.4 20030822 (experimental)
The qt build fails with an ICE in
g++ -c -pipe -O2 -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/home/jss/qt-x11-free-3.2.0/mkspecs/linux-g++ -I.
-I/usr/include/freetype2 -I../../include -I../tools -I. -o ./qdatetime.o
../tools/qdatetime.cpp
../tools/qstring.h: In member function `QString
QDate::toString(Qt::DateFormat)
const':
../tools/qstring.h:1035: internal compiler error: tree check: expected
class 'd
', have 'r' (indirect_ref) in genrtl_cleanup_stmt, at c-semantics.c:760
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
The code it fails on is very simple:
Q_EXPORT inline const QString operator+( const QString &s1, const QString
&s2 )
{
QString tmp( s1 );
tmp += s2;
return tmp;
}
Should bugs on the mainline be put into bugzilla?
Jeremy
--
Jeremy Sanders <jss@ast.cam.ac.uk> http://www-xray.ast.cam.ac.uk/~jss/
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053