[Bug rtl-optimization/16194] [3.4/4.0 Regression] In case of H8/300 target, internal compiler error (ICE): asm clobber conflict with output operand

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 8 16:01:00 GMT 2004


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



More information about the Gcc-bugs mailing list