Summary: | [3.4 only] m68k_output_mi_thunk emits wrong code for ColdFire | ||
---|---|---|---|
Product: | gcc | Reporter: | Peter Barada <peter> |
Component: | target | Assignee: | Bernardo Innocenti <bernie> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gcc-bugs, peter |
Priority: | P2 | Keywords: | patch, wrong-code |
Version: | 3.4.0 | ||
Target Milestone: | 3.4.1 | ||
Host: | Target: | m68k-elf | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2004-06-02 20:29:31 |
Description
Peter Barada
2004-06-02 20:25:08 UTC
Confirmed, patch is around somewhere, I cannot find it right now (but I am not trying too hard). The patch for this can be found at: http://gcc.gnu.org/ml/gcc/2004-05/msg01353.html OK for 3 4.1. Subject: Bug 15782 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: bernie@gcc.gnu.org 2004-06-03 04:02:49 Modified files: gcc : ChangeLog gcc/config/m68k: m68k.c Log message: PR target/15782 * config/m68k/m68k.c(m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform an add to memory. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.465&r2=2.2326.2.466 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.123.2.1&r2=1.123.2.2 Patch installed in both mailine and gcc-3_4-branch. |