Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

internal compiler error on -O3 and above


  • To: arm-gcc@xxxxxxxxxxxxxxxx
  • Subject: internal compiler error on -O3 and above
  • From: Matthias Wenzel <mazzoo@xxxxxxxxx>
  • Date: Tue, 21 Jun 2005 13:21:12 +0200

Hi gcc monks,

trying to compile mpg123 for a -mcpu=arm926ejs, I get an internal compiler error, as long as I use -O3 or above:

---
/home/matze/[...]/bin/arm-linux-gcc -DLINUX -DOSS -Wall -O3 -mcpu=arm926ejs -fomit-frame-pointer -funroll-all-loops -finline-functions -ffast-math -c -o layer3.o layer3.c
layer3.c: In function `init_layer3':
layer3.c:361: error: insn does not satisfy its constraints:
(insn:HI 1622 7947 7948 31 (set (mem/s:SI (post_modify:SI (reg:SI 10 sl)
                (plus:SI (reg:SI 10 sl)
                    (const_int 12 [0xc]))) [47 mapend S4 A32])
        (reg:SI 12 ip [1319])) 559 {*arm_movsi_vfp} (insn_list 3628 (nil))
    (expr_list:REG_INC (reg:SI 10 sl)
        (nil)))
layer3.c:361: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1549
Please submit a full bug report,
with preprocessed source if appropriate.
Send email to arm-gcc@xxxxxxxxxxxxxxxx for instructions.
---
$ /home/matze/[...]/bin/arm-linux-gcc -v
Reading specs from /home/matze/[...]/bin/../lib/gcc/arm-linux/3.4.0/specs
Configured with: /work/GNU/CodeSourcery/src/gcc-3.4.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/usr/local/arm/gnu/release-3.4.0-vfp --with-headers=/usr/local/arm/gnu/release-3.4.0-vfp/arm-linux/include --with-local-prefix=/usr/local/arm/gnu/release-3.4.0-vfp/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-clocale=gnu --enable-long-long
Thread model: posix
gcc version 3.4.0 20040409 (CodeSourcery ARM Q1 2004)
---


help or hints are appreciated, mpg123 originally comes with the -O6 switch enabled.

regards,

Matthias