From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10529 invoked by alias); 27 Sep 2006 11:28:26 -0000 Received: (qmail 10513 invoked by uid 48); 27 Sep 2006 11:28:17 -0000 Date: Wed, 27 Sep 2006 11:28:00 -0000 Subject: [Bug c++/29250] New: internal compiler error: in extract_insn, at recog.c:2084 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bugreports at nn7 dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg02558.txt.bz2 List-Id: 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 .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 for instructions. For Debian GNU/Linux specific bug reporting instructions, see . 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