------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-08 
16:01 -------
I think this is invalid code though.  An example for PPC:
void bug(char* dst)
{
        register char* _dst __asm ("r6");
        __asm__ ("%0":"=g"(*_dst): :"r4","r5","r6");
}

Note you saying that you clobered r6 but pass something which is in the memory 
address in r6.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|target                      |rtl-optimization
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-08 16:01:40
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16194

Reply via email to