Summary: | [ColdFire] Invalid use of dbra | ||
---|---|---|---|
Product: | gcc | Reporter: | carlos |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | critical | CC: | gcc-bugs |
Priority: | P2 | Keywords: | wrong-code |
Version: | 2.95.3 | ||
Target Milestone: | --- | ||
Host: | Target: | m68k-elf | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | ||
Attachments: | fbcon-cfb16.i |
Description
carlos
2002-02-17 09:26:00 UTC
Fix: Edit the assembly code and fix it manually, then use as and run ld. Hello, gcc 2.95.3 is quite old. Would it be possible for you to check whether this problem still occurs with gcc 3.3? Alternatively, what are the options to create coldfire cross compiler? And what are the options which you pass to gcc which result in the invalid asm? Thanks, Dara From looking at the machine description, I see all the "dbra" are conditional under !TARGET_5200 (aka ColdFire) since the inital import of the description. Did you pass the option -m5200 otherwise it will generate dbra? The problem is that the sources contain the "dbra" instruction in inline asm so the code is invalid on ColdFire. |