This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/54993] New: [4.8 regression] PIC register not marked as live
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Oct 2012 21:45:12 +0000
- Subject: [Bug rtl-optimization/54993] New: [4.8 regression] PIC register not marked as live
- Auto-submitted: auto-generated
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