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

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

-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/qstring.h: In member function `QString
../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:> 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 Sanders <>
X-Ray Group, Institute of Astronomy, University of Cambridge, UK.
Public Key Server PGP Key ID: E1AAE053

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