public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Michael dot Finken at me dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/39277]  New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3
Date: Mon, 23 Feb 2009 16:56:00 -0000	[thread overview]
Message-ID: <bug-39277-17350@http.gcc.gnu.org/bugzilla/> (raw)

I am compiling version 2.3.3 (or 2.3.4) of the Pari/GP math library. The
compiler crashes with a segmentation fault, when the source file arith1.c is
compiled with -O3.

The compiler is gcc 4.3.3, freshly compiled on Solaris 2.8.

Here's the log output of the compile:

Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: ../gcc-4.3.3/configure --prefix=/app/murex/mxjobs/tools
--with-local-prefix=/app/murex/mxjobs/tools --enable-languages=c,c++
--with-gmp=/app/murex/m
xjobs/tools --with-mpfr=/app/murex/mxjobs/tools --disable-nls --with-gnu-as
--with-gnu-ld
Thread model: posix
gcc version 4.3.3 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-c' '-Wall'
'-fno-strict-aliasing' '-fomit-frame-pointer' '-I.' '-I../src/headers' '-o'
'arith1.o' '-mcpu=v9'

/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../libexec/gcc/sparc-sun-solaris2.8/4.3.3/cc1
-E -quiet -v -I. -I../src/headers -iprefix /app/murex/mxjobs/tools/Pack
ages/gcc-4.3.3/bin/../lib/gcc/sparc-sun-solaris2.8/4.3.3/ -D__sparcv8
../src/basemath/arith1.c -mcpu=v9 -Wall -fno-strict-aliasing
-fomit-frame-pointer -O3 -fpch-pre
process -o arith1.i
ignoring nonexistent directory
"/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../lib/gcc/sparc-sun-solaris2.8/4.3.3/../../../../sparc-sun-solaris2.8/include"
ignoring duplicate directory
"/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../lib/gcc/../../lib/gcc/sparc-sun-solaris2.8/4.3.3/include"
ignoring duplicate directory
"/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../lib/gcc/../../lib/gcc/sparc-sun-solaris2.8/4.3.3/include-fixed"
ignoring nonexistent directory
"/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../lib/gcc/../../lib/gcc/sparc-sun-solaris2.8/4.3.3/../../../../sparc-sun-solaris2.8/i
nclude"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../src/headers

/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../lib/gcc/sparc-sun-solaris2.8/4.3.3/include

/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../lib/gcc/sparc-sun-solaris2.8/4.3.3/include-fixed
 /app/murex/mxjobs/tools/include
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-c' '-Wall'
'-fno-strict-aliasing' '-fomit-frame-pointer' '-I.' '-I../src/headers' '-o'
'arith1.o' '-mcpu=v9'

/app/murex/mxjobs/tools/Packages/gcc-4.3.3/bin/../libexec/gcc/sparc-sun-solaris2.8/4.3.3/cc1
-fpreprocessed arith1.i -quiet -dumpbase arith1.c -mcpu=v9 -auxbase-str
ip arith1.o -O3 -Wall -version -fno-strict-aliasing -fomit-frame-pointer -o
arith1.s
GNU C (GCC) version 4.3.3 (sparc-sun-solaris2.8)
        compiled by GNU C version 4.3.3, GMP version 4.2.4, MPFR version 2.3.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 3a569cfd8a08af79990f0013cab714dc
../src/basemath/arith1.c: In function 'Fl_pow':
../src/basemath/arith1.c:1788: internal compiler error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: Segmentation fault when compiling arith1.c of Pari/GP
                    2.3.3/2.3.4 with -O3
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Michael dot Finken at me dot com
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


             reply	other threads:[~2009-02-23 16:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 16:56 Michael dot Finken at me dot com [this message]
2009-02-23 16:57 ` [Bug c/39277] " Michael dot Finken at me dot com
2009-02-23 16:58 ` Michael dot Finken at me dot com
2009-02-23 16:59 ` Michael dot Finken at me dot com
2009-02-23 17:01 ` Michael dot Finken at me dot com
2010-09-20 22:03 ` [Bug middle-end/39277] " ebotcazou at gcc dot gnu dot org
2010-09-22 10:19 ` ebotcazou at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-39277-17350@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).