Bug: combination of -mips16 and -mlong-calls
Markus Stepen
Markus.Stepen@fr.bosch.de
Thu Oct 8 07:20:00 GMT 1998
I think I discovered a compiler bug in
EGCS version:
egcs-2.91.57 19980901 (egcs-1.1 release)
System:
Host: SUN solaris 2.5
Target: mips-lsi-elf
GCC options: see below
Description:
Combination of options '-mips16' and '-mlong-calls' fails:
mips-lsi-elf-gcc -mips16 -mlong-calls -S my_file.c
produces incorrect JAL instructions in my_file.s:
jal $3, $2
because $3 does not exist in mips16 mode
=> Assembler messages: Error: illegal operands `jalô
Regards,
Markus Stepen
________________________________________________________________________
Markus Stepen P.O.Box 777777 phone: +49-5121-49-3107
FV/SLM D-31132 Hildesheim fax: +49-5121-49-3190
Robert Bosch GmbH Germany email: Markus.Stepen@fr.bosch.de
Corporate Research and Development Systems 2
Advanced Development Multimedia Systems
________________________________________________________________________
More information about the Gcc-bugs
mailing list