This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/13312] [m68k] C++ produces stack frame damaging code for Coldfire


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]