Bug 11192 - Building Pari-2.1.5 fails with SuSE gcc 3.3 -O3 (internal compiler error)
Summary: Building Pari-2.1.5 fails with SuSE gcc 3.3 -O3 (internal compiler error)
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 3.3
: P2 normal
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-14 19:33 UTC by Alexander Kruppa
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target:
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
the preprocessed Pari source file (51.61 KB, text/plain)
2003-06-14 19:37 UTC, Alexander Kruppa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kruppa 2003-06-14 19:33:52 UTC
Building Pari-2.1.5 (from http://www.gn-50uma.de/ftp/pari/00index.html) fails
when trying to compile src/basemath/buch2.c with -O3 on a SuSE 8.2 system, the
compiler aborts with a "internal compiler error" message.


uname -a
Linux lily 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown unknown GNU/Linux

gcc --version
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)

Unfortunately I have no stock gcc 3.3 available to test.


/usr/bin/gcc -c -O3 -Wall -Wno-implicit -fomit-frame-pointer -o buch2.o -x
cpp-output  buch2.i
../src/basemath/buch2.c: In function `small_norm_for_buchall':
../src/basemath/buch2.c:1516: warning: comparison between signed and unsigned
../src/basemath/buch2.c: In function `relationrank':
../src/basemath/buch2.c:2146: warning: comparison between signed and unsigned
../src/basemath/buch2.c: In function `buchall':
../src/basemath/buch2.c:3036: warning: comparison between signed and unsigned
../src/basemath/buch2.c: At top level:
../src/basemath/buch2.c:1782: internal compiler error: in remove_edge, at
callgraph.c:189
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
alex@lily:~/pari-2.1.5/Olinux-i686>


Compiling with -O2 seems to work:

/usr/bin/gcc -c -O2 -Wall -Wno-implicit -fomit-frame-pointer -o buch2.o -x
cpp-output  buch2.i
../src/basemath/buch2.c: In function `small_norm_for_buchall':
../src/basemath/buch2.c:1516: warning: comparison between signed and unsigned
../src/basemath/buch2.c: In function `relationrank':
../src/basemath/buch2.c:2146: warning: comparison between signed and unsigned
../src/basemath/buch2.c: In function `buchall':
../src/basemath/buch2.c:3036: warning: comparison between signed and unsigned
alex@lily:~/pari-2.1.5/Olinux-i686>


I'll attach the "buch2.i" file to this report.

Alex
Comment 1 Alexander Kruppa 2003-06-14 19:37:25 UTC
Created attachment 4223 [details]
the preprocessed Pari source file
Comment 2 Andrew Pinski 2003-06-14 19:44:46 UTC
Can you try a final version of 3.3 since I cannot reproduce it on 3.3.1 (20030526) and the mainline 
(20030614)?
Comment 3 Eric Botcazou 2003-06-14 20:27:42 UTC
Subject: Re:  New: Building Pari-2.1.5 fails with SuSE gcc 3.3 -O3 (internal compiler error)

> /usr/bin/gcc -c -O3 -Wall -Wno-implicit -fomit-frame-pointer -o buch2.o -x
> cpp-output  buch2.i
> ../src/basemath/buch2.c: In function `small_norm_for_buchall':
> ../src/basemath/buch2.c:1516: warning: comparison between signed and
> unsigned ../src/basemath/buch2.c: In function `relationrank':
> ../src/basemath/buch2.c:2146: warning: comparison between signed and
> unsigned ../src/basemath/buch2.c: In function `buchall':
> ../src/basemath/buch2.c:3036: warning: comparison between signed and
> unsigned ../src/basemath/buch2.c: At top level:
> ../src/basemath/buch2.c:1782: internal compiler error: in remove_edge, at
> callgraph.c:189
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

There is no callgraph.c source file in the FSF tree. Ask SuSE directly.

Comment 4 Alexander Kruppa 2003-06-14 20:34:30 UTC
Ok, will contact SuSE. This bug closed as INVALID.