public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29250]  New: internal compiler error: in extract_insn, at recog.c:2084
@ 2006-09-27 11:28 bugreports at nn7 dot de
  2006-09-27 11:30 ` [Bug c++/29250] " bugreports at nn7 dot de
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: bugreports at nn7 dot de @ 2006-09-27 11:28 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2600 bytes --]

I am using g++ to compile shogun 0.1.2 from
http://www.fml.tuebingen.mpg.de/raetsch/projects/shogun.

g++ however dies as soon as I turn on optimization -O1 with the following error
(it will compile ok with -O0).

c++  -O1 -fPIC -DLINUX -g -c -I. -I/usr/include/octave-2.1.73 -o
guilib/GUIFeatures.cpp.o guilib/GUIFeatures.cpp
guilib/GUIFeatures.cpp: In member function ‘CRealFeatures*
CGUIFeatures::convert_sparse_real_to_simple_real(CSparseRealFeatures*,
CHAR*)’:
guilib/GUIFeatures.cpp:591: error: unrecognizable insn:
(insn 204 209 208 20 ./features/SparseFeatures.h:227 (set (subreg:SI (reg:DI
199) 4)
        (plus:SI (reg:SI 197)
            (mem/s/j:SI (reg/f:SI 138 [ D.22963 ]) [0 <variable>.feat_index+0
S4 A64]))) -1 (nil)
    (nil))
guilib/GUIFeatures.cpp:591: internal compiler error: in extract_insn, at
recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.

I am on a linux-ppc arch running debian sid:

$ cat /proc/cpuinfo 
processor       : 0
cpu             : 7455, altivec supported
clock           : 1000.000000MHz
revision        : 0.3 (pvr 8001 0303)
bogomips        : 99.79
timebase        : 33331495
platform        : PowerMac
machine         : PowerBook3,5
motherboard     : PowerBook3,5 MacRISC2 MacRISC Power Macintosh
detected as     : 80 (PowerBook Titanium IV)
pmac flags      : 0000001b
L2 cache        : 256K unified
pmac-generation : NewWorld

$ g++ -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --disable-softfloat
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
--enable-checking=release powerpc-linux-gnu
Thread model: posix
gcc version 4.1.2 20060901 (prerelease) (Debian 4.1.1-13)


-- 
           Summary: internal compiler error: in extract_insn, at
                    recog.c:2084
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bugreports at nn7 dot de


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


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

end of thread, other threads:[~2006-11-04  4:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-27 11:28 [Bug c++/29250] New: internal compiler error: in extract_insn, at recog.c:2084 bugreports at nn7 dot de
2006-09-27 11:30 ` [Bug c++/29250] " bugreports at nn7 dot de
2006-09-27 16:02 ` [Bug target/29250] " pinskia at gcc dot gnu dot org
2006-09-27 16:21 ` pinskia at gcc dot gnu dot org
2006-09-27 17:52 ` pinskia at gcc dot gnu dot org
2006-10-12 17:21 ` dje at gcc dot gnu dot org
2006-10-12 19:15 ` dje at gcc dot gnu dot org
2006-10-12 23:03 ` dje at gcc dot gnu dot org
2006-10-12 23:39 ` dje at gcc dot gnu dot org
2006-10-14  3:03 ` dje at gcc dot gnu dot org
2006-10-14  3:34 ` [Bug target/29250] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2006-10-14 19:26 ` pinskia at gcc dot gnu dot org
2006-11-01 18:29 ` mmitchel at gcc dot gnu dot org
2006-11-02 17:19 ` dje at gcc dot gnu dot org
2006-11-04  4:07 ` dje 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).