public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57288] New: cfi_restore should precede cfi_def_cfa_offset
@ 2013-05-15 12:34 msharov at users dot sourceforge.net
  2013-11-10  8:04 ` [Bug target/57288] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: msharov at users dot sourceforge.net @ 2013-05-15 12:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57288
           Summary: cfi_restore should precede cfi_def_cfa_offset
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msharov at users dot sourceforge.net

Created attachment 30122
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30122&action=edit
The emitted assembly exhibiting the ordering problem

This is on x86_64, compiled with -Os. In the attached assembly, line 89, .L55,
.cfi_restore is emitted for ebx and ebp after .cfi_def_cfa_offset 8 already
invalidated the location where they were stored. cfa_offset should be emitted
after cfi_restores, as it was in the other codepaths like .LEHE0-.L51


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

end of thread, other threads:[~2013-11-10 19:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-15 12:34 [Bug target/57288] New: cfi_restore should precede cfi_def_cfa_offset msharov at users dot sourceforge.net
2013-11-10  8:04 ` [Bug target/57288] " pinskia at gcc dot gnu.org
2013-11-10 13:31 ` msharov at users dot sourceforge.net
2013-11-10 19:16 ` pinskia at gcc dot gnu.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).