public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42465]  New: internal compiler error: in extract_insn, at recog.c:2001
@ 2009-12-22 17:09 gccbugzilla at taggedtype dot net
  2009-12-22 17:12 ` [Bug c++/42465] " gccbugzilla at taggedtype dot net
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-22 17:09 UTC (permalink / raw)
  To: gcc-bugs

I am experiencing the above error when compiling a Boost Math test. The output
of g++ -v is below and I will attach the preprocessed sources.

/usr/bin/g++ -v -save-temps -o
build/debug/vendor/boost_1_39_0/libs/math/octonion/octonion_test.o -c -Wall
-Wno-unused -maix32 -O0 -ffloat-store -g -pthread -mxl-compat -fPIC
-mno-fp-in-toc -mno-sum-in-toc -fno-threadsafe-statics -fpermissive
-Wno-missing-braces -D_DEBUG -DBOOST_ALL_NO_LIB -DBOOST_SPIRIT_THREADSAFE
-Ivendor/boost_1_39_0 vendor/boost_1_39_0/libs/math/octonion/octonion_test.cpp
Using built-in specs.
Target: powerpc-ibm-aix6.1.2.0
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld
--enable-languages=c,c++ --prefix=/opt/gcc434 --enable-threads=posix
--enable-tls --enable-version-specific-runtime-libs --disable-nls
--enable-decimal-float=dpd --with-gmp=/opt/freeware
Thread model: aix
gcc version 4.3.4 (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-o'
'build/debug/vendor/boost_1_39_0/libs/math/octonion/octonion_test.o' '-c'
'-Wall' '-Wno-unused' '-maix32' '-O0' '-ffloat-store' '-g' '-pthread'
'-mxl-compat' '-fPIC' '-mno-fp-in-toc' '-mno-sum-in-toc'
'-fno-threadsafe-statics' '-fpermissive' '-Wno-missing-braces' '-D_DEBUG'
'-DBOOST_ALL_NO_LIB' '-DBOOST_SPIRIT_THREADSAFE' '-Ivendor/boost_1_39_0'
'-shared-libgcc'
 /opt/gcc434/libexec/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/cc1plus -E -quiet -v
-Ivendor/boost_1_39_0 -imultilib pthread -D_ALL_SOURCE -D__COMPATMATH__
-D_THREAD_SAFE -D_DEBUG -DBOOST_ALL_NO_LIB -DBOOST_SPIRIT_THREADSAFE
vendor/boost_1_39_0/libs/math/octonion/octonion_test.cpp -maix32 -mxl-compat
-mno-fp-in-toc -mno-sum-in-toc -Wall -Wno-unused -Wno-missing-braces
-ffloat-store -fPIC -fno-threadsafe-statics -fpermissive -fworking-directory
-O0 -fpch-preprocess -o octonion_test.ii
ignoring nonexistent directory
"/opt/gcc434/lib/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/../../../../powerpc-ibm-aix6.1.2.0/include"
#include "..." search starts here:
#include <...> search starts here:
 vendor/boost_1_39_0
 /opt/gcc434/lib/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/include/c++

/opt/gcc434/lib/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/include/c++/powerpc-ibm-aix6.1.2.0/pthread
 /opt/gcc434/lib/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/include/c++/backward
 /usr/local/include
 /opt/gcc434/include
 /opt/gcc434/lib/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/include
 /opt/gcc434/lib/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-o'
'build/debug/vendor/boost_1_39_0/libs/math/octonion/octonion_test.o' '-c'
'-Wall' '-Wno-unused' '-maix32' '-O0' '-ffloat-store' '-g' '-pthread'
'-mxl-compat' '-fPIC' '-mno-fp-in-toc' '-mno-sum-in-toc'
'-fno-threadsafe-statics' '-fpermissive' '-Wno-missing-braces' '-D_DEBUG'
'-DBOOST_ALL_NO_LIB' '-DBOOST_SPIRIT_THREADSAFE' '-Ivendor/boost_1_39_0'
'-shared-libgcc'
 /opt/gcc434/libexec/gcc/powerpc-ibm-aix6.1.2.0/4.3.4/cc1plus -fpreprocessed
octonion_test.ii -quiet -dumpbase octonion_test.cpp -maix32 -mxl-compat
-mno-fp-in-toc -mno-sum-in-toc -auxbase-strip
build/debug/vendor/boost_1_39_0/libs/math/octonion/octonion_test.o -g -O0 -Wall
-Wno-unused -Wno-missing-braces -version -ffloat-store -fPIC
-fno-threadsafe-statics -fpermissive -o octonion_test.s
GNU C++ (GCC) version 4.3.4 (powerpc-ibm-aix6.1.2.0)
        compiled by GNU C version 4.3.4, GMP version 4.3.1, MPFR version
2.4.1-p5.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: e9638aa3a22c713b1251b5cd2218f306
vendor/boost_1_39_0/boost/math/octonion.hpp: In function 'bool
boost::math::operator==(const boost::math::quaternion<T>&, const
boost::math::octonion<T>&) [with T = long double]':
vendor/boost_1_39_0/boost/math/octonion.hpp:1786: error: unrecognizable insn:
(insn 237 236 238 vendor/boost_1_39_0/boost/math/octonion.hpp:1785 (set (reg:DF
37 5)
        (mem/u/c:DF (plus:SI (reg:SI 2 2)
                (const:SI (minus:SI (symbol_ref/u:SI ("*LC..26") [flags 0x2])
                        (symbol_ref:SI ("*LCTOC..1"))))) [0 S8 A8])) -1 (nil))
vendor/boost_1_39_0/boost/math/octonion.hpp:1786: internal compiler error: in
extract_insn, at recog.c:2001
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: internal compiler error: in extract_insn, at
                    recog.c:2001
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gccbugzilla at taggedtype dot net
 GCC build triplet: powerpc-ibm-aix6.1.2.0
  GCC host triplet: powerpc-ibm-aix6.1.2.0
GCC target triplet: powerpc-ibm-aix6.1.2.0


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


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

* [Bug c++/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
@ 2009-12-22 17:12 ` gccbugzilla at taggedtype dot net
  2009-12-22 18:11 ` paolo dot carlini at oracle dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-22 17:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from gccbugzilla at taggedtype dot net  2009-12-22 17:12 -------
Created an attachment (id=19373)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19373&action=view)
The output of -save-temps

Zip file. Unfortunately files were too big to attach so I had to compress them.


-- 


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


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

* [Bug c++/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
  2009-12-22 17:12 ` [Bug c++/42465] " gccbugzilla at taggedtype dot net
@ 2009-12-22 18:11 ` paolo dot carlini at oracle dot com
  2009-12-22 18:12 ` gccbugzilla at taggedtype dot net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-22 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from paolo dot carlini at oracle dot com  2009-12-22 18:10 -------
It would be nice if could provide a manageable reproducer. Did you try delta
already?

  http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction

Thanks in advance.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c++/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
  2009-12-22 17:12 ` [Bug c++/42465] " gccbugzilla at taggedtype dot net
  2009-12-22 18:11 ` paolo dot carlini at oracle dot com
@ 2009-12-22 18:12 ` gccbugzilla at taggedtype dot net
  2009-12-22 18:16 ` [Bug target/42465] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-22 18:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from gccbugzilla at taggedtype dot net  2009-12-22 18:11 -------
Nope, I did not. Will take a look.


-- 


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


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
                   ` (2 preceding siblings ...)
  2009-12-22 18:12 ` gccbugzilla at taggedtype dot net
@ 2009-12-22 18:16 ` pinskia at gcc dot gnu dot org
  2009-12-22 18:22 ` gccbugzilla at taggedtype dot net
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-12-22 18:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2009-12-22 18:16 -------
Also you might want to try 4.4.2 which has fixed some TOC related ICEs.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|blocker                     |normal
             Status|WAITING                     |UNCONFIRMED
  GCC build triplet|powerpc-ibm-aix6.1.2.0      |
   GCC host triplet|powerpc-ibm-aix6.1.2.0      |


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


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
                   ` (3 preceding siblings ...)
  2009-12-22 18:16 ` [Bug target/42465] " pinskia at gcc dot gnu dot org
@ 2009-12-22 18:22 ` gccbugzilla at taggedtype dot net
  2009-12-22 19:53 ` gccbugzilla at taggedtype dot net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-22 18:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from gccbugzilla at taggedtype dot net  2009-12-22 18:22 -------
U(In reply to comment #4)
> Also you might want to try 4.4.2 which has fixed some TOC related ICEs.
> 

Unfortunately, I am stuck with this version but I will try that to find out if
it does fix the issue to make a case for upgrading.

It seems to be related to the use of long double. Does that make any sense?


-- 


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


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
                   ` (4 preceding siblings ...)
  2009-12-22 18:22 ` gccbugzilla at taggedtype dot net
@ 2009-12-22 19:53 ` gccbugzilla at taggedtype dot net
  2009-12-30 15:24 ` gccbugzilla at taggedtype dot net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-22 19:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from gccbugzilla at taggedtype dot net  2009-12-22 19:52 -------
(In reply to comment #2)
> It would be nice if could provide a manageable reproducer. Did you try delta
> already?
> 
>   http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction
> 
> Thanks in advance.

Do you know how long it is expected to take? It's been running since you
suggested it. I just want to know if it is guaranteed to finish at some point.


-- 


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


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
                   ` (5 preceding siblings ...)
  2009-12-22 19:53 ` gccbugzilla at taggedtype dot net
@ 2009-12-30 15:24 ` gccbugzilla at taggedtype dot net
  2009-12-30 15:39 ` gccbugzilla at taggedtype dot net
  2009-12-30 15:41 ` gccbugzilla at taggedtype dot net
  8 siblings, 0 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-30 15:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from gccbugzilla at taggedtype dot net  2009-12-30 15:24 -------
Ok, I ran the delta program for a few days and got this message:

Died at /home/s.somani/thirdparty/delta-2006.08.03/delta line 123, <> line
64641

Doh!

I'll try and see if I can get another test case.


-- 


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


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
                   ` (6 preceding siblings ...)
  2009-12-30 15:24 ` gccbugzilla at taggedtype dot net
@ 2009-12-30 15:39 ` gccbugzilla at taggedtype dot net
  2009-12-30 15:41 ` gccbugzilla at taggedtype dot net
  8 siblings, 0 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-30 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from gccbugzilla at taggedtype dot net  2009-12-30 15:39 -------
Aha, found a small test case:

int main()
{
  long double d;
  bool b = static_cast<long double>(0) == d;
}


-- 


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


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
  2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
                   ` (7 preceding siblings ...)
  2009-12-30 15:39 ` gccbugzilla at taggedtype dot net
@ 2009-12-30 15:41 ` gccbugzilla at taggedtype dot net
  8 siblings, 0 replies; 12+ messages in thread
From: gccbugzilla at taggedtype dot net @ 2009-12-30 15:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from gccbugzilla at taggedtype dot net  2009-12-30 15:41 -------
I've narrowed it down to this invocation:

g++ -o octonion_test.o -c -mxl-compat ld_break.cpp

So it's caused by some interaction with -mxl-compat


-- 


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


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
       [not found] <bug-42465-4@http.gcc.gnu.org/bugzilla/>
  2014-04-26  0:39 ` dje at gcc dot gnu.org
@ 2014-04-26  0:42 ` dje at gcc dot gnu.org
  1 sibling, 0 replies; 12+ messages in thread
From: dje at gcc dot gnu.org @ 2014-04-26  0:42 UTC (permalink / raw)
  To: gcc-bugs

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

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.6.0

--- Comment #11 from David Edelsohn <dje at gcc dot gnu.org> ---
I do not know when this was fixed, but all of the recent versions that I can
test do not exhibit the failure. GCC 4.6, 4.7, 4.8, 4.9.


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

* [Bug target/42465] internal compiler error: in extract_insn, at recog.c:2001
       [not found] <bug-42465-4@http.gcc.gnu.org/bugzilla/>
@ 2014-04-26  0:39 ` dje at gcc dot gnu.org
  2014-04-26  0:42 ` dje at gcc dot gnu.org
  1 sibling, 0 replies; 12+ messages in thread
From: dje at gcc dot gnu.org @ 2014-04-26  0:39 UTC (permalink / raw)
  To: gcc-bugs

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

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-04-26
                 CC|                            |dje at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #10 from David Edelsohn <dje at gcc dot gnu.org> ---
Apparently confirmed.


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

end of thread, other threads:[~2014-04-26  0:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-22 17:09 [Bug c++/42465] New: internal compiler error: in extract_insn, at recog.c:2001 gccbugzilla at taggedtype dot net
2009-12-22 17:12 ` [Bug c++/42465] " gccbugzilla at taggedtype dot net
2009-12-22 18:11 ` paolo dot carlini at oracle dot com
2009-12-22 18:12 ` gccbugzilla at taggedtype dot net
2009-12-22 18:16 ` [Bug target/42465] " pinskia at gcc dot gnu dot org
2009-12-22 18:22 ` gccbugzilla at taggedtype dot net
2009-12-22 19:53 ` gccbugzilla at taggedtype dot net
2009-12-30 15:24 ` gccbugzilla at taggedtype dot net
2009-12-30 15:39 ` gccbugzilla at taggedtype dot net
2009-12-30 15:41 ` gccbugzilla at taggedtype dot net
     [not found] <bug-42465-4@http.gcc.gnu.org/bugzilla/>
2014-04-26  0:39 ` dje at gcc dot gnu.org
2014-04-26  0:42 ` dje at gcc dot gnu.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).