thanks.. I'll check this later on this week -- I gor a big headache now... Well, actually I would recommend to use 3.2 cause the result output is much better in some cases... still wondering why... ~d
On Tuesday 27 July 2004 13:31, Hardy Griech wrote: > Peter Jansen wrote: > > Thanks it now compiles the msp430-libc. > > Unfortunately it does not compile msp430-libc if optimization is -O0. > This gives: > > ./../include/math.h:190: warning: conflicting types for built-in > function 'cabsf' > msp430-gcc -mmcu=msp1 -I./../include -I. -Wall -O0 -g -c libm/sf_rint.c > -o msp1/sf_rint.o > In file included from libm/fdlibm.h:16, > from libm/sf_rint.c:16: > ./../include/math.h:112: warning: conflicting types for built-in > function 'cabs' > ./../include/math.h:190: warning: conflicting types for built-in > function 'cabsf' > libm/sf_rint.c: In function `rintf': > libm/sf_rint.c:70: error: unrecognizable insn: > (insn 367 366 104 5 libm/sf_rint.c:52 (set (reg:HI 15 r15 [ w+2 ]) > (subreg:HI (mem/v/f:SF (plus:HI (reg/f:HI 4 r4) > (const_int 32 [0x20])) [0 w+0 S4 A32]) 2)) -1 (nil) > (nil)) > libm/sf_rint.c:70: internal compiler error: in extract_insn, at > recog.c:2083 Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://gcc.gnu.org/bugs.html> for instructions. > make: *** [msp1/sf_rint.o] Error 1 > > -O1 has the same result. > > Compiling with -O99 shows the following crash: > > msp430-gcc -c -I./../include -I. -Wall -O99 -g -mmcu=msp1 -c > stdlib/strtol.c -o msp1/strtol.o > stdlib/strtol.c: In function `strtol': > stdlib/strtol.c:154: error: unrecognizable insn: > (jump_insn 284 283 442 32 stdlib/strtol.c:133 (parallel [ > (set (pc) > (if_then_else (ltu:SI (reg:SI 89 [ cutoff ]) > (reg/v:SI 27 [ acc ])) > (label_ref 291) > (pc))) > (clobber:SI (reg:SI 110 [ cutoff ])) > ]) -1 (insn_list 283 (nil)) > (expr_list:REG_DEAD (reg:SI 89 [ cutoff ]) > (expr_list:REG_UNUSED (reg:SI 110 [ cutoff ]) > (expr_list:REG_BR_PROB (const_int 5000 [0x1388]) > (expr_list:REG_EQUAL (if_then_else (ltu:SI (reg/v:SI > 107 [ cutoff ]) > (reg/v:SI 27 [ acc ])) > (label_ref 291) > (pc)) > (nil)))))) > stdlib/strtol.c:154: internal compiler error: in extract_insn, at > recog.c:2083 > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://gcc.gnu.org/bugs.html> for instructions. > make: *** [msp1/strtol.o] Error 1 > > Hardy > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users