GCC 3.0.3 Prelease problem on --target=m68k-elf
Peter Barada
pbarada@mail.wm.sps.mot.com
Fri Dec 14 07:51:00 GMT 2001
>> Unfortunately it doesn't produce correct code for -m5200 due to the
>> "r" constraint in the following pattern in gcc/config/m68k/m68k.md:
>>
>> ;; Jump to variable address from dispatch table of relative addresses.
>> (define_insn ""
>> [(set (pc)
>> (plus:SI (pc)
>> (sign_extend:SI (match_operand:HI 0 "register_operand" "r"))))
>> (use (label_ref (match_operand 1 "" "")))]
>> ""
>Is this a regression with respect to 3.0.2, or 2.95.3?
Its a regression from 2.95.3, the same problem is in 3.0.2.
>Either way, it seems the thing to do is to file a bug report with GNATS
>including a test case for which bad code generation occurs.
Ok, how do I file a bug report with GNATS? I'll have to cobble
together a test case, but from inspection its obvious that the
constraint is wrong.
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
More information about the Gcc
mailing list