This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug: combination of -mips16 and -mlong-calls
- To: egcs-bugs at cygnus dot com
- Subject: Bug: combination of -mips16 and -mlong-calls
- From: Markus Stepen <Markus dot Stepen at fr dot bosch dot de>
- Date: Thu, 08 Oct 1998 16:05:16 +0200
- Organization: Robert Bosch GmbH
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
________________________________________________________________________