public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13855] New: -O2 with -ftracer %m7 register error
@ 2004-01-25 12:04 peorth at artificial dot ath dot cx
2004-01-25 16:02 ` [Bug optimization/13855] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: peorth at artificial dot ath dot cx @ 2004-01-25 12:04 UTC (permalink / raw)
To: gcc-bugs
When compiling the latest version of KDE 3.2 beta (and CVS) using GCC 3.3.2
(20031218, though also happened with previous 'stable' versions of GCC 3.3.2)
with -ftracer, an error complaining about the invalid %m7 register is output.
This doesn't happen without -ftracer, or by using -O1 instead of -O2.
This is using the latest stable version of binutils as well, though same error
happened with previous versions.
Error:
/bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..
/dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui
-I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include
-I/usr/X11R6/include -I/usr/kde/3.2/include -DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -msse
-mmmx -mfpmath=sse,387 -pipe -funroll-loops -maccumulate-outgoing-args
-fprefetch-loop-arrays -foptimize-sibling-calls -freduce-all-givs
-fmove-all-movables -fomit-frame-pointer -ftracer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -c -o kstyle.lo `test -f 'kstyle.cpp' || echo './'`kstyle.
cpp
{standard input}: Assembler messages:
{standard input}:7092: Error: bad register name `%m7'
make[2]: *** [kimageeffect.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
works:
/bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..
/dcop -I../kio/kssl -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui
-I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include
-I/usr/X11R6/include -I/usr/kde/3.2/include -DQT_THREAD_SUPPORT -D_REENTRANT
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -msse
-mmmx -mfpmath=sse,387 -pipe -funroll-loops -maccumulate-outgoing-args
-fprefetch-loop-arrays -foptimize-sibling-calls -freduce-all-givs
-fmove-all-movables -fomit-frame-pointer -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -c -o kstyle.lo `test -f 'kstyle.cpp' || echo './'`kstyle.
cpp
gcc -v output:
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long
--disable-checking --enable-cstdio=stdio --enable-clocale=generic
--enable-__cxa_atexit --enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib
--with-x --disable-multilib
Thread model: posix
gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
--
Summary: -O2 with -ftracer %m7 register error
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peorth at artificial dot ath dot cx
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13855
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug optimization/13855] -O2 with -ftracer %m7 register error
2004-01-25 12:04 [Bug c++/13855] New: -O2 with -ftracer %m7 register error peorth at artificial dot ath dot cx
@ 2004-01-25 16:02 ` pinskia at gcc dot gnu dot org
2004-01-25 18:11 ` dhazeghi at yahoo dot com
2004-04-15 12:48 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-25 16:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-25 16:02 -------
Can you attach the preprocessed source?
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c++ |optimization
GCC target triplet| |i686-pc-linux-gnu
Keywords| |wrong-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13855
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug optimization/13855] -O2 with -ftracer %m7 register error
2004-01-25 12:04 [Bug c++/13855] New: -O2 with -ftracer %m7 register error peorth at artificial dot ath dot cx
2004-01-25 16:02 ` [Bug optimization/13855] " pinskia at gcc dot gnu dot org
@ 2004-01-25 18:11 ` dhazeghi at yahoo dot com
2004-04-15 12:48 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: dhazeghi at yahoo dot com @ 2004-01-25 18:11 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13855
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug optimization/13855] -O2 with -ftracer %m7 register error
2004-01-25 12:04 [Bug c++/13855] New: -O2 with -ftracer %m7 register error peorth at artificial dot ath dot cx
2004-01-25 16:02 ` [Bug optimization/13855] " pinskia at gcc dot gnu dot org
2004-01-25 18:11 ` dhazeghi at yahoo dot com
@ 2004-04-15 12:48 ` pinskia at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-15 12:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-15 12:43 -------
No feedback in 3 months (T-10 days). We can reopen this bug if the needed feedback is
given.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13855
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-15 12:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-25 12:04 [Bug c++/13855] New: -O2 with -ftracer %m7 register error peorth at artificial dot ath dot cx
2004-01-25 16:02 ` [Bug optimization/13855] " pinskia at gcc dot gnu dot org
2004-01-25 18:11 ` dhazeghi at yahoo dot com
2004-04-15 12:48 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).