This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11192] New: Building Pari-2.1.5 fails with SuSE gcc 3.3 -O3 (internal compiler error)


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11192

           Summary: Building Pari-2.1.5 fails with SuSE gcc 3.3 -O3
                    (internal compiler error)
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: alexander.kruppa@stud.tu-muenchen.de
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]