Here is the log : arm-oc8s-linux-gnueabi-gcc -Wall -std=gnu99 -mthumb -save-temps -DDEFAULT_GPIO=4 -c -o chrono.o chrono.c chrono.c: In function 'chrono_diff': chrono.c:188:1: error: insn does not satisfy its constraints: (insn 236 40 41 chrono.c:155 (set (reg:DF 63 s0) (reg:DF 1 r1)) 184 {*thumb_movdf_insn} (nil)) chrono.c:188:1: internal compiler error: in note_invalid_constants, at config/arm/arm.c:11243 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [chrono.o] Error 1
Created attachment 21753 [details] the preprocessed file that triggers the bug
Created attachment 21754 [details] the options given when GCC was configured/built
>--with-cpu=arm926ej-s --with-tune=arm926ej-s --with-arch=armv5te --with-fpu=vfp --with-float=hard Hmm, these default CPUs don't support vfp in thumb.
Subject: Re: internal compiler error: in note_invalid_constants, at config/arm/arm.c:11243 Sorry to haven't checking that. Thank you. pinskia at gcc dot gnu dot org wrote: > ------- Comment #3 from pinskia at gcc dot gnu dot org 2010-09-09 17:00 ------- >> --with-cpu=arm926ej-s --with-tune=arm926ej-s --with-arch=armv5te --with-fpu=vfp --with-float=hard > > Hmm, these default CPUs don't support vfp in thumb. > >
Reporter needs to try again with different configure options. (We may still want a more user-friendly way of catching the original problem though.)
Technically, this is ICE on invalid code, but a more user-friendly error would be better. As it happens, one has been added to trunk, as of 16th June. http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01501.html I will backport it to 4.5, unless Mr Brook wants to.
(In reply to Ian Bolton from comment #6) > Technically, this is ICE on invalid code, but a more user-friendly error > would be better. As it happens, one has been added to trunk, as of 16th > June. > > http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01501.html > > I will backport it to 4.5, unless Mr Brook wants to. 4.5 branch is closed, so a backport is unnecessary. Closing as FIXED.