[Bug inline-asm/20518] New: Clobber registers,in inline asm. Problem when using rcall

bl at rosetechnology dot dk gcc-bugzilla@gcc.gnu.org
Thu Mar 17 14:38:00 GMT 2005


When register are listet as clobbert, they are used anyway for local variables 
if the inline assembly code uses rcall. The r1 (zeroreg) is not restored even 
if it is clobbert.
None of these problems genrates error or warnings.

-- 
           Summary: Clobber registers,in inline asm. Problem when using
                    rcall
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: inline-asm
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bl at rosetechnology dot dk
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: 3.4.3
  GCC host triplet: win
GCC target triplet: avr


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



More information about the Gcc-bugs mailing list