public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/20518] New: Clobber registers,in inline asm. Problem when using rcall
@ 2005-03-17 14:38 bl at rosetechnology dot dk
  2005-03-17 14:45 ` [Bug inline-asm/20518] " bl at rosetechnology dot dk
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bl at rosetechnology dot dk @ 2005-03-17 14:38 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug inline-asm/20518] Clobber registers,in inline asm. Problem when using rcall
  2005-03-17 14:38 [Bug inline-asm/20518] New: Clobber registers,in inline asm. Problem when using rcall bl at rosetechnology dot dk
@ 2005-03-17 14:45 ` bl at rosetechnology dot dk
  2005-03-17 14:53 ` bl at rosetechnology dot dk
  2005-03-26 18:33 ` [Bug target/20518] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bl at rosetechnology dot dk @ 2005-03-17 14:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bl at rosetechnology dot dk  2005-03-17 14:41 -------
Created an attachment (id=8410)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8410&action=view)
Testcase with listfile

This show the wrong generated code.

-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug inline-asm/20518] Clobber registers,in inline asm. Problem when using rcall
  2005-03-17 14:38 [Bug inline-asm/20518] New: Clobber registers,in inline asm. Problem when using rcall bl at rosetechnology dot dk
  2005-03-17 14:45 ` [Bug inline-asm/20518] " bl at rosetechnology dot dk
@ 2005-03-17 14:53 ` bl at rosetechnology dot dk
  2005-03-26 18:33 ` [Bug target/20518] " pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bl at rosetechnology dot dk @ 2005-03-17 14:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/20518] Clobber registers,in inline asm. Problem when using rcall
  2005-03-17 14:38 [Bug inline-asm/20518] New: Clobber registers,in inline asm. Problem when using rcall bl at rosetechnology dot dk
  2005-03-17 14:45 ` [Bug inline-asm/20518] " bl at rosetechnology dot dk
  2005-03-17 14:53 ` bl at rosetechnology dot dk
@ 2005-03-26 18:33 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-26 18:33 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|inline-asm                  |target
  GCC build triplet|3.4.3                       |
   GCC host triplet|win                         |
            Version|unknown                     |3.4.3


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-26 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 14:38 [Bug inline-asm/20518] New: Clobber registers,in inline asm. Problem when using rcall bl at rosetechnology dot dk
2005-03-17 14:45 ` [Bug inline-asm/20518] " bl at rosetechnology dot dk
2005-03-17 14:53 ` bl at rosetechnology dot dk
2005-03-26 18:33 ` [Bug target/20518] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).