This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/13312] [m68k] C++ produces stack frame damaging code for Coldfire
- From: "bernie at develer dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jun 2004 08:03:18 -0000
- Subject: [Bug target/13312] [m68k] C++ produces stack frame damaging code for Coldfire
- References: <20031205063124.13312.Steve@Zook.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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