public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/8252: gcc 3.2 ICE on AltiVec code with optimisation turned on
@ 2002-11-06 23:02 aldyh
  0 siblings, 0 replies; 2+ messages in thread
From: aldyh @ 2002-11-06 23:02 UTC (permalink / raw)
  To: adam, adrian, gcc-bugs, gcc-prs, nobody

Synopsis: gcc 3.2 ICE on AltiVec code with optimisation turned on

State-Changed-From-To: open->closed
State-Changed-By: aldyh
State-Changed-When: Wed Nov  6 23:02:49 2002
State-Changed-Why:
    fixed

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


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

* optimization/8252: gcc 3.2 ICE on AltiVec code with optimisation turned on
@ 2002-10-17  7:46 adam
  0 siblings, 0 replies; 2+ messages in thread
From: adam @ 2002-10-17  7:46 UTC (permalink / raw)
  To: gcc-gnats; +Cc: adrian


>Number:         8252
>Category:       optimization
>Synopsis:       gcc 3.2 ICE on AltiVec code with optimisation turned on
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 17 07:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Adam Barnes
>Release:        3.2
>Organization:
>Environment:
In-house port of Linux 2.4.19 (Debian based) on reasonably mature own design PowerPC G4 single board computer
>Description:
I'm trying to compile an Apple AltiVec FFT program called "vBigDSP" with gcc 3.2. After changing brackets to braces on all vector initialisations, it compiles OK. But if I try any level of optimisation I get an internal compiler error. When I tried the latest snapshot (3.3-20021017) I got a different error without optimisation (I will report this separately).
--------------------------------------------------
hppb:/home/test/examples/applefft# gcc -v -save-temps -c vBigDSP.c -O
Reading specs from /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/specs
Configured with: ../gcc-3.2/configure --enable-languages=c,c++ --enable-altivec
Thread model: posix
gcc version 3.2
 /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/cpp0 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -DPPC -D__ELF__ -Dpowerpc -D__PPC__ -D__ELF__ -D__powerpc__ -D__PPC -D__powerpc -Acpu=powerpc -Amachine=powerpc -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_CALL_SYSV -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine=bigendian -D_ARCH_PPC -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix vBigDSP.c vBigDSP.i
GNU CPP version 3.2 (cpplib) (PowerPC GNU/Linux)
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/powerpc-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2/cc1 -fpreprocessed vBigDSP.i -quiet -dumpbase vBigDSP.c -O -version -o vBigDSP.s
GNU CPP version 3.2 (cpplib) (PowerPC GNU/Linux)
GNU C version 3.2 (powerpc-unknown-linux-gnu)
        compiled by GNU C version 3.3 20021017 (experimental).
vBigDSP.c: In function `fft_recursive':
vBigDSP.c:1623: Internal compiler error in print_operand, at config/rs6000/rs6000.c:6821
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
hppb:/home/test/examples/applefft#
--------------------------------------------------
>How-To-Repeat:
vBigDSP_3.2.i.gz contains the intermediate output.
>Fix:
Do not use optimisation (drastic performance impact).
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-11-07  7:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 23:02 optimization/8252: gcc 3.2 ICE on AltiVec code with optimisation turned on aldyh
  -- strict thread matches above, loose matches on Subject: below --
2002-10-17  7:46 adam

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