public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bugreports at nn7 dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/29250]  New: internal compiler error: in extract_insn, at recog.c:2084
Date: Wed, 27 Sep 2006 11:28:00 -0000	[thread overview]
Message-ID: <bug-29250-7243@http.gcc.gnu.org/bugzilla/> (raw)

[-- 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


             reply	other threads:[~2006-09-27 11:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 11:28 bugreports at nn7 dot de [this message]
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

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-29250-7243@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).