This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bug: combination of -mips16 and -mlong-calls


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
________________________________________________________________________


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]