The problem becomes visible when one tries to execute kdesktop_lock in KDE 3.5.2. No problem with gcc 4.1.1.
The attached patch for qt-3.3.6 fixes the problem. I'm running Gentoo Linux with CFLAGS="-march=athlon-xp -O2 -pipe". The corresponding Gentoo ebuild is qt-3.3.6-r1. -- Summary: bad code produced when compiling qt-3.3.6 Product: gcc Version: 3.4.6 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: kalium at gmx dot de GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29109