Dmitry
I tried to compile gcc from a fresh install of gcc-3.2 source
and the current (30-Sept-2002) gcc-3.3 sources under Cygwin.
I received the following error:
/cygdrive/d/cvs/mspgcc/gcc/gcc-3.2/gcc/xgcc
-B/cygdrive/d/cvs/mspgcc/gcc/gcc-3.2/gcc/
-B/mspgcc/msp430/bin/ -B/mspgcc/msp430/lib/ -isystem /mspgcc/msp430/include -O2
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -DDF=SF -Dinhibit_libc -g -g
-DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I. -I./. -I./config
-I./../include
-fexceptions -c ./unwind-dw2-fde.c -o libgcc/./unwind-dw2-fde.o
In file included from unwind-dw2-fde.c:37:
unwind-pe.h: In function `size_of_encoded_value':
unwind-pe.h:76: warning: implicit declaration of function `abort'
unwind-dw2-fde.c: In function `get_cie_encoding':
unwind-dw2-fde.c:271: warning: implicit declaration of function `strlen'
unwind-dw2-fde.c: In function `fde_split':
unwind-dw2-fde.c:924: unrecognizable insn:
(insn:QI 42 229 43 (set (cc0)
(compare:HI (reg/v/f:HI 31)
(symbol_ref:HI ("marker.0")))) -1 (nil)
(expr_list:REG_DEAD (reg/v/f:HI 31)
(expr_list:REG_EQUAL (compare:HI (reg/v/f:HI 27)
(symbol_ref:HI ("marker.0")))
(nil))))
unwind-dw2-fde.c:924: Internal compiler error in extract_insn, at recog.c:2148
-Bill Knight
R O SoftWare
On Mon, 30 Sep 2002 12:33:42 +0400, Dmitry wrote:
>Fellows,
>
>I'm sorry, but again I found a some combination of characters which leads to
>compare bug:
>
>
>long foo(long *a, long b, int i)
>{
> b -=a[i];
> if(b) return a[i]+b;
> return 0;
>}
>
>compiled with...
>gcc -O ...
>
>This is fixed now in current gcc version...
>Sorry again...
>
>~d