public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/7897: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag
@ 2002-09-12 11:36 mhillary
  0 siblings, 0 replies; 4+ messages in thread
From: mhillary @ 2002-09-12 11:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7897
>Category:       optimization
>Synopsis:       gcc3.2 fails building kdeaddons when using the -march=pentium4 flag
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 12 11:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Mark Hillary
>Release:        3.2
>Organization:
>Environment:
Configured with: /var/tmp/portage/gcc-3.2-r1/work/gcc-3.2/configure
--prefix=/usr --mandir=/usr/share/man -infodir=/usr/share/info --enable-shared
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-gnu
--with-system-zlib -enable-languages=c,c++,ada,f77,abjc,java
--enable-threads=posix --enable-long-long --disable-checking
--enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--withgxx-include-dir=/ust/include/g++-v32 --with-local-prefix=/usr/local
--enable-shared --enable0nls --without-included-gettext
Thread model: posix
gcc version 3.2
CFLAGS=-march=pentium4 -O3 -pipe
CXXFLAGS=-march=pentium4 -O3 -pipe

Info from /proc/cpuinfo
cpu family	:15
model		:2
model name	:Intel(R) Pentium(R) 4 Mobile CPU 1.60Ghz
stepping	:4
>Description:
kdeaddons/noatun-plugins/tyler/compute.c failes to build using the -march=pentium4 flag

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. _I../.. -I/usr/kde/3/include
-I/usr/qt/3/include -I/usr/X11R6/include -I/usr/nclude/SDL -D_REENTRANT
-DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -O2 -march=pentium4 -O3 -pipe -c `test -f compute.c
!! echo ' ./' `compute.c
compute.c: In function `generate_sector':
compute.c:175: unable to find a register to spill in class 'FLOAT_REGS'
compute.c:175: this is the insn:
(insn 187 184 189 (set (reg:DF 9 st(1) [117])
		(float_extend:DF (subreg:SF (reg/v:DI rxmm0 [82]) 0))) 133
{*extendsfdf2_1} (nil)
	(nil))
compute.c:175: confused by earlier errors, bailing out
make: *** [compute.o] Error 1

I have had this confirmed by one other person (sorry hes the only other person I know with a p4), same result also have tried with the -O2 flag instead of the -O3 flag
>How-To-Repeat:
Build kdeaddons on a P4 with -march=pentium4
>Fix:
Build with out -march=pentium4 or build with the pentium4 flag but add -mno-sse2 
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: optimization/7897: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag
@ 2002-10-17  9:12 hubicka
  0 siblings, 0 replies; 4+ messages in thread
From: hubicka @ 2002-10-17  9:12 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mhillary, nobody

Synopsis: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag

State-Changed-From-To: open->closed
State-Changed-By: hubicka
State-Changed-When: Thu Oct 17 09:12:47 2002
State-Changed-Why:
    7630 duplicate.  KDE built fine for me now

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7897


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: optimization/7897: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag
@ 2002-10-09 10:29 hubicka
  0 siblings, 0 replies; 4+ messages in thread
From: hubicka @ 2002-10-09 10:29 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mhillary, nobody

Synopsis: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag

State-Changed-From-To: feedback->open
State-Changed-By: hubicka
State-Changed-When: Wed Oct  9 10:29:18 2002
State-Changed-Why:
    It is dealing with SSE registers.  Looks like 7630 duplicate.  We allow DImode in XMM and subreg DI->DF is actually the problem - we fail to reload DImode value to DFmode that is quite correct.  Perhaps CLASS_CANNOT_CHANGE_MODE for FLOAT_REGS?
    I've raised the priority of the other bug, so I am keeping this medium

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7897


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: optimization/7897: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag
@ 2002-10-02 15:56 rth
  0 siblings, 0 replies; 4+ messages in thread
From: rth @ 2002-10-02 15:56 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mhillary, nobody

Synopsis: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag

State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Wed Oct  2 15:56:22 2002
State-Changed-Why:
    No test case.  Probably fixed by http://gcc.gnu.org/ml/gcc-patches/2002-10/msg00121.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7897


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-17 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-12 11:36 optimization/7897: gcc3.2 fails building kdeaddons when using the -march=pentium4 flag mhillary
2002-10-02 15:56 rth
2002-10-09 10:29 hubicka
2002-10-17  9:12 hubicka

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).