------- Comment #5 from howarth at nitro dot med dot uc dot edu  2010-09-04 
20:28 -------
My proposed patch to fix PR36502...

http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00237.html

also fixes this regression as can be since from the diff of leaf.s generated
with gcc trunk before and after applying my patch...


--- leaf-1.s    2010-09-04 16:26:13.000000000 -0400
+++ leaf-1.s.patched_trunk      2010-09-04 16:24:35.000000000 -0400
@@ -3,11 +3,7 @@
        .globl _foo
 _foo:
 LFB0:
-       subq    $8, %rsp
-LCFI0:
        xorl    %eax, %eax
-       addq    $8, %rsp
-LCFI1:
        ret
 LFE0:
        .section
__TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
@@ -39,16 +35,6 @@
        .set L$set$2,LFE0-LFB0
        .quad L$set$2
        .byte   0
-       .byte   0x4
-       .set L$set$3,LCFI0-LFB0
-       .long L$set$3
-       .byte   0xe
-       .byte   0x10
-       .byte   0x4
-       .set L$set$4,LCFI1-LCFI0
-       .long L$set$4
-       .byte   0xe
-       .byte   0x8
        .align 3
 LEFDE1:
        .subsections_via_symbols


-- 


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

Reply via email to