[Bug target/13312] [m68k] C++ produces stack frame damaging code for Coldfire
bernie at develer dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 10 08:03:00 GMT 2004
------- Additional Comments From bernie at develer dot com 2004-06-10 08:03 -------
This patch does indeed fix the bug:
http://gcc.gnu.org/ml/gcc/2004-05/msg01357.html
2004-05-27 Peter Jakubek <peter@laseranimation.com>
* reload.c (find_reloads): force reload for pseudo registers on big
endian machines.
The generated code to increment the word at -2(a6) with the
patch applied looks like this:
move.w -2(%a6),%d7
moveq #1,%d4
add.l %d4,%d7
move.w %d7,-2(%a6)
jbra .L122
*** This bug has been marked as a duplicate of 8309 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13312
More information about the Gcc-bugs
mailing list