public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/54993] New: [4.8 regression] PIC register not marked as live
@ 2012-10-19 21:45 schwab@linux-m68k.org
  2012-10-22  9:08 ` [Bug rtl-optimization/54993] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2012-10-19 21:45 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54993
           Summary: [4.8 regression] PIC register not marked as live
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: schwab@linux-m68k.org
                CC: steven@gcc.gnu.org
            Target: m68k-*-*


Created attachment 28496
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28496
preprocessed from libstdc++-v3/testsuite/30_threads/future/members/wait.cc

The patch for bug 38711 is causing the PIC register not being marked as live.

Compiled with -O2 -std=gnu++0x.

@@ -1668,17 +1663,16 @@
        .cfi_startproc
        .cfi_personality 0,__gxx_personality_v0
        .cfi_lsda 0,.LLSDA2633
-       link.w %fp,#-72
+       link.w %fp,#-68
        .cfi_offset 14, -8
        .cfi_def_cfa 14, 8
        movem.l #12348,-(%sp)
-       .cfi_offset 2, -104
-       .cfi_offset 3, -100
-       .cfi_offset 10, -96
-       .cfi_offset 11, -92
-       .cfi_offset 12, -88
-       .cfi_offset 13, -84
-       lea (%pc, _GLOBAL_OFFSET_TABLE_@GOTPC), %a5
+       .cfi_offset 2, -100
+       .cfi_offset 3, -96
+       .cfi_offset 10, -92
+       .cfi_offset 11, -88
+       .cfi_offset 12, -84
+       .cfi_offset 13, -80
        clr.l -48(%fp)
        clr.l -44(%fp)
        pea 104.w


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

end of thread, other threads:[~2012-11-09 23:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-19 21:45 [Bug rtl-optimization/54993] New: [4.8 regression] PIC register not marked as live schwab@linux-m68k.org
2012-10-22  9:08 ` [Bug rtl-optimization/54993] " rguenth at gcc dot gnu.org
2012-10-28 12:34 ` steven at gcc dot gnu.org
2012-10-28 15:30 ` schwab@linux-m68k.org
2012-10-28 15:37 ` schwab@linux-m68k.org
2012-10-28 15:38 ` schwab@linux-m68k.org
2012-10-28 17:24 ` steven at gcc dot gnu.org
2012-10-28 18:35 ` schwab@linux-m68k.org
2012-11-09 23:41 ` steven 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).