public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47324] New: g++.dg/torture/stackalign failures with -O3 -g at -m32 on darwin
@ 2011-01-16 22:07 howarth at nitro dot med.uc.edu
  2011-01-16 22:14 ` [Bug target/47324] " howarth at nitro dot med.uc.edu
                   ` (60 more replies)
  0 siblings, 61 replies; 62+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-16 22:07 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: g++.dg/torture/stackalign failures with -O3 -g at -m32
                    on darwin
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: howarth@nitro.med.uc.edu


This is the last remaining breakage with the stackalign tests on x86 darwin10.
We are failing...

FAIL: g++.dg/torture/stackalign/eh-alloca-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-2.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-alloca-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-1.C  -O3 -g  execution test
FAIL: g++.dg/torture/stackalign/eh-vararg-2.C  -O3 -g  execution test

These tests don't fail their execution tests if the -g is omitted. However if I
take a failing test and strip the eh-alloca-1.o object file created with -g
using 'strip -S eh-alloca-1.o' and relink the testcase it still fails. So the
failure is dependent on -g being passed to the testcase but not the debug code
generated.

Comparing the disassembled eh-alloca-1.o file (using 'otool -tv eh-alloca-1.o')
created with -g0 to that created with -g and then stripped with 'strip -S', I
find the following diff.

--- disasm_g0.txt    2011-01-16 16:33:15.000000000 -0500
+++ disasm_g_stripped.tex    2011-01-16 16:52:28.000000000 -0500
@@ -76,10 +76,10 @@ 
 000000ed    calll    0x100000000
 000000f2    movl    $0x00000004,(%esp)
 000000f9    calll    0x100000000
-000000fe    movl    0x000002cb(%ebx),%edx
+000000fe    movl    0x00000d50(%ebx),%edx
 00000104    addl    $0x0c,%edx
 00000107    movl    %edx,(%eax)
-00000109    movl    0x000002d3(%ebx),%edx
+00000109    movl    0x00000d58(%ebx),%edx
 0000010f    movl    $0x00000000,0x08(%esp)
 00000117    movl    %eax,(%esp)
 0000011a    movl    %edx,0x04(%esp)


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

end of thread, other threads:[~2011-02-14 11:57 UTC | newest]

Thread overview: 62+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-16 22:07 [Bug target/47324] New: g++.dg/torture/stackalign failures with -O3 -g at -m32 on darwin howarth at nitro dot med.uc.edu
2011-01-16 22:14 ` [Bug target/47324] " howarth at nitro dot med.uc.edu
2011-01-16 22:15 ` howarth at nitro dot med.uc.edu
2011-01-16 22:16 ` howarth at nitro dot med.uc.edu
2011-01-16 22:17 ` howarth at nitro dot med.uc.edu
2011-01-16 22:53 ` howarth at nitro dot med.uc.edu
2011-01-16 22:56 ` howarth at nitro dot med.uc.edu
2011-01-17  0:57 ` howarth at nitro dot med.uc.edu
2011-01-17  5:38 ` danglin at gcc dot gnu.org
2011-02-07 21:19 ` howarth at nitro dot med.uc.edu
2011-02-07 22:45 ` mrs at gcc dot gnu.org
2011-02-08  0:46 ` howarth at nitro dot med.uc.edu
2011-02-08  2:28 ` howarth at nitro dot med.uc.edu
2011-02-08  3:42 ` howarth at nitro dot med.uc.edu
2011-02-08 10:47 ` howarth at nitro dot med.uc.edu
2011-02-08 10:57 ` mrs at gcc dot gnu.org
2011-02-08 11:04 ` howarth at nitro dot med.uc.edu
2011-02-08 19:31 ` howarth at nitro dot med.uc.edu
2011-02-09  1:33 ` howarth at nitro dot med.uc.edu
2011-02-09  2:08 ` [Bug target/47324] r157762 caused " howarth at nitro dot med.uc.edu
2011-02-09  3:32 ` howarth at nitro dot med.uc.edu
2011-02-09  5:18 ` howarth at nitro dot med.uc.edu
2011-02-09  5:53 ` ian at airs dot com
2011-02-09  8:26 ` jakub at gcc dot gnu.org
2011-02-09 12:36 ` howarth at nitro dot med.uc.edu
2011-02-09 14:13 ` ian at airs dot com
2011-02-09 14:27 ` howarth at nitro dot med.uc.edu
2011-02-09 15:47 ` ian at airs dot com
2011-02-09 16:33 ` howarth at nitro dot med.uc.edu
2011-02-09 17:12 ` ian at airs dot com
2011-02-10  3:03 ` howarth at nitro dot med.uc.edu
2011-02-10  3:38 ` howarth at nitro dot med.uc.edu
2011-02-10  8:57 ` jakub at gcc dot gnu.org
2011-02-10 14:40 ` howarth at nitro dot med.uc.edu
2011-02-10 14:44 ` iains at gcc dot gnu.org
2011-02-10 15:10 ` jakub at gcc dot gnu.org
2011-02-10 16:05 ` iains at gcc dot gnu.org
2011-02-10 16:16 ` jakub at gcc dot gnu.org
2011-02-10 17:42 ` iains at gcc dot gnu.org
2011-02-10 17:57 ` jakub at gcc dot gnu.org
2011-02-10 18:31 ` iains at gcc dot gnu.org
2011-02-10 18:49 ` howarth at nitro dot med.uc.edu
2011-02-10 19:13 ` jakub at gcc dot gnu.org
2011-02-10 20:14 ` howarth at nitro dot med.uc.edu
2011-02-10 20:17 ` iains at gcc dot gnu.org
2011-02-10 20:25 ` iains at gcc dot gnu.org
2011-02-10 20:45 ` jakub at gcc dot gnu.org
2011-02-10 20:48 ` iains at gcc dot gnu.org
2011-02-11  8:43 ` dominiq at lps dot ens.fr
2011-02-11 10:11 ` howarth at nitro dot med.uc.edu
2011-02-11 10:19 ` iains at gcc dot gnu.org
2011-02-12 17:23 ` iains at gcc dot gnu.org
2011-02-13  9:10 ` mrs at gcc dot gnu.org
2011-02-13 17:01 ` howarth at nitro dot med.uc.edu
2011-02-13 18:57 ` mrs at gcc dot gnu.org
2011-02-13 19:26 ` howarth at nitro dot med.uc.edu
2011-02-13 20:49 ` howarth at nitro dot med.uc.edu
2011-02-13 23:30 ` howarth at nitro dot med.uc.edu
2011-02-14  3:22 ` [Bug target/47324] r160124 " howarth at nitro dot med.uc.edu
2011-02-14  3:23 ` howarth at nitro dot med.uc.edu
2011-02-14  3:28 ` howarth at nitro dot med.uc.edu
2011-02-14 11:57 ` howarth at nitro dot med.uc.edu

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