public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/53038] New: cfi_restore for cr before cr is actually restored
@ 2012-04-19  7:21 amodra at gmail dot com
  2012-04-19  7:34 ` [Bug target/53038] " amodra at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: amodra at gmail dot com @ 2012-04-19  7:21 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53038
           Summary: cfi_restore for cr before cr is actually restored
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: amodra@gmail.com


void s_c (void)
{
  char a[33];
  __asm __volatile ("#%0" : "=m" (a) : : "cr2");
}

compiled with -m32 -O2 -g gives this epilogue

        lwz 12,76(1)
        addi 1,1,80
        .cfi_restore 70
        .cfi_def_cfa_offset 0
        mtcrf 32,12
        blr


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

end of thread, other threads:[~2013-02-06  3:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-19  7:21 [Bug target/53038] New: cfi_restore for cr before cr is actually restored amodra at gmail dot com
2012-04-19  7:34 ` [Bug target/53038] " amodra at gmail dot com
2012-04-19 15:34 ` amodra at gmail dot com
2012-04-19 15:35 ` amodra at gmail dot com
2012-05-01  4:04 ` amodra at gcc dot gnu.org
2013-02-06  3:05 ` amodra at gmail dot com

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