public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 @ 2009-02-23 16:56 Michael dot Finken at me dot com 2009-02-23 16:57 ` [Bug c/39277] " Michael dot Finken at me dot com ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: Michael dot Finken at me dot com @ 2009-02-23 16:56 UTC (permalink / raw) To: gcc-bugs 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 2009-02-23 16:56 [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 Michael dot Finken at me dot com @ 2009-02-23 16:57 ` Michael dot Finken at me dot com 2009-02-23 16:58 ` Michael dot Finken at me dot com ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: Michael dot Finken at me dot com @ 2009-02-23 16:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from Michael dot Finken at me dot com 2009-02-23 16:57 ------- Created an attachment (id=17350) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17350&action=view) This is the log of the compile command This is the complete output of the compile command, when run with gcc -v -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 2009-02-23 16:56 [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 Michael dot Finken at me dot com 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 ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: Michael dot Finken at me dot com @ 2009-02-23 16:58 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from Michael dot Finken at me dot com 2009-02-23 16:58 ------- Created an attachment (id=17351) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17351&action=view) The intermediate file after pre-processing The magic source file... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 2009-02-23 16:56 [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 Michael dot Finken at me dot com 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 ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: Michael dot Finken at me dot com @ 2009-02-23 16:59 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from Michael dot Finken at me dot com 2009-02-23 16:58 ------- Created an attachment (id=17352) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17352&action=view) The assembler source, created upto the crash. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 2009-02-23 16:56 [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 Michael dot Finken at me dot com ` (2 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: Michael dot Finken at me dot com @ 2009-02-23 17:01 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from Michael dot Finken at me dot com 2009-02-23 17:01 ------- This happens with gcc 4.3.2 as well. I compiled gcc 4.3.3 today, hoping that the problem would no longer appear. -- Michael dot Finken at me dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Michael dot Finken at me dot | |com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 2009-02-23 16:56 [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 Michael dot Finken at me dot com ` (3 preceding siblings ...) 2009-02-23 17:01 ` Michael dot Finken at me dot com @ 2010-09-20 22:03 ` ebotcazou at gcc dot gnu dot org 2010-09-22 10:19 ` ebotcazou at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2010-09-20 22:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from ebotcazou at gcc dot gnu dot org 2010-09-20 22:02 ------- Investigating. -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot |dot org |org Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-09-20 22:02:51 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/39277] Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 2009-02-23 16:56 [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 Michael dot Finken at me dot com ` (4 preceding siblings ...) 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 5 siblings, 0 replies; 7+ messages in thread From: ebotcazou at gcc dot gnu dot org @ 2010-09-22 10:19 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-09-22 10:19 ------- *** This bug has been marked as a duplicate of 43870 *** -- ebotcazou at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |DUPLICATE Target Milestone|--- |4.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39277 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-09-22 10:19 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-02-23 16:56 [Bug c/39277] New: Segmentation fault when compiling arith1.c of Pari/GP 2.3.3/2.3.4 with -O3 Michael dot Finken at me dot com 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
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).