public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/42487]  New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
@ 2009-12-24  4:01 howarth at nitro dot med dot uc dot edu
  2009-12-24  4:02 ` [Bug c/42487] " howarth at nitro dot med dot uc dot edu
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-24  4:01 UTC (permalink / raw)
  To: gcc-bugs

The new testcase...

FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges

fails on x86_64-apple-darwin10...

Executing on host:
/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c
  -gdwarf-2 -ffunction-sections -w -dA -S  -o aranges-fnsec-1.s    (timeout =
300)
PASS: gcc.dg/debug/dwarf2/aranges-fnsec-1.c (test for excess errors)
PASS: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler-not
\\.Letext0-\\.Ltext0
PASS: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler-not
\\.Ltext0[^\n\r]*Offset 0x0
FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges


-- 
           Summary: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-
                    assembler DW_AT_ranges
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


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


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

* [Bug c/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
@ 2009-12-24  4:02 ` howarth at nitro dot med dot uc dot edu
  2009-12-24  9:42 ` jakub at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-24  4:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2009-12-24 04:02 -------
Created an attachment (id=19382)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19382&action=view)
assembly for gcc.dg/debug/dwarf2/aranges-fnsec-1.c on x86_64-apple-darwin10

Generated with...

/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc45-4.4.999-20091223/darwin_objdir/gcc/
/sw/src/fink.build/gcc45-4.4.999-20091223/gcc-4.5-20091223/gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c
  -gdwarf-2 -ffunction-sections -w -dA -S  -o aranges-fnsec-1.s


-- 


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


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

* [Bug c/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
  2009-12-24  4:02 ` [Bug c/42487] " howarth at nitro dot med dot uc dot edu
@ 2009-12-24  9:42 ` jakub at gcc dot gnu dot org
  2009-12-30  4:14 ` howarth at nitro dot med dot uc dot edu
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-12-24  9:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2009-12-24 09:42 -------
-gno-strict-dwarf should be added to dg-options to make darwin happy.


-- 


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


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

* [Bug c/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
  2009-12-24  4:02 ` [Bug c/42487] " howarth at nitro dot med dot uc dot edu
  2009-12-24  9:42 ` jakub at gcc dot gnu dot org
@ 2009-12-30  4:14 ` howarth at nitro dot med dot uc dot edu
  2010-08-05 15:43 ` [Bug debug/42487] " danglin at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-12-30  4:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from howarth at nitro dot med dot uc dot edu  2009-12-30 04:14 -------
Appending -gno-strict-dwarf to the dg-options doesn't change the assembly
generated on x86_64-apple-darwin10.


-- 


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


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

* [Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2009-12-30  4:14 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-05 15:43 ` danglin at gcc dot gnu dot org
  2010-08-16 15:49 ` rth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: danglin at gcc dot gnu dot org @ 2010-08-05 15:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from danglin at gcc dot gnu dot org  2010-08-05 15:43 -------
Also seen on darwin9.


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danglin at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-08-05 15:43:13
               date|                            |


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


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

* [Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
                   ` (3 preceding siblings ...)
  2010-08-05 15:43 ` [Bug debug/42487] " danglin at gcc dot gnu dot org
@ 2010-08-16 15:49 ` rth at gcc dot gnu dot org
  2010-08-16 16:30 ` howarth at nitro dot med dot uc dot edu
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: rth at gcc dot gnu dot org @ 2010-08-16 15:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rth at gcc dot gnu dot org  2010-08-16 15:48 -------
Darwin doesn't really support -ffunction-sections.  Which means
that the aranges feature isn't exercised.


-- 


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


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

* [Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
                   ` (4 preceding siblings ...)
  2010-08-16 15:49 ` rth at gcc dot gnu dot org
@ 2010-08-16 16:30 ` howarth at nitro dot med dot uc dot edu
  2010-08-18  8:22 ` iains at gcc dot gnu dot org
  2010-08-20 12:04 ` howarth at nitro dot med dot uc dot edu
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-16 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from howarth at nitro dot med dot uc dot edu  2010-08-16 16:30 -------
Does that mean darwin can't or it just was never implemented? if it is the
first, I guess this should be XFAIL'd on darwin.


-- 


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


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

* [Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
                   ` (5 preceding siblings ...)
  2010-08-16 16:30 ` howarth at nitro dot med dot uc dot edu
@ 2010-08-18  8:22 ` iains at gcc dot gnu dot org
  2010-08-20 12:04 ` howarth at nitro dot med dot uc dot edu
  7 siblings, 0 replies; 10+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-08-18  8:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from iains at gcc dot gnu dot org  2010-08-18 08:21 -------
Subject: Bug 42487

Author: iains
Date: Wed Aug 18 08:21:43 2010
New Revision: 163326

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163326
Log:

        PR debug/42487
        * lib/target-supports.exp
        (check_effective_target_function_sections): New.
        * gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Check that the target supports
        function sections before proceding.


Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c
    trunk/gcc/testsuite/lib/target-supports.exp


-- 


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


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

* [Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
  2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
                   ` (6 preceding siblings ...)
  2010-08-18  8:22 ` iains at gcc dot gnu dot org
@ 2010-08-20 12:04 ` howarth at nitro dot med dot uc dot edu
  7 siblings, 0 replies; 10+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-08-20 12:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from howarth at nitro dot med dot uc dot edu  2010-08-20 12:04 -------
Fixed with r163326.


-- 

howarth at nitro dot med dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug debug/42487] FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges
       [not found] <bug-42487-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-06 19:28 ` mrs at gcc dot gnu.org
  0 siblings, 0 replies; 10+ messages in thread
From: mrs at gcc dot gnu.org @ 2010-10-06 19:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2010-10-06 19:28:42 UTC ---
Author: mrs
Date: Wed Oct  6 19:28:40 2010
New Revision: 165064

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165064
Log:
2010-10-06  Jack Howarth <howarth@bromo.med.uc.edu>

    Backport from mainline
    2010-08-18  Iain Sandoe  <iains@gcc.gnu.org>

    PR debug/42487
    * lib/target-supports.exp (check_effective_target_function_sections): New.
    * gcc.dg/debug/dwarf2/aranges-fnsec-1.c: Check that the target supports
    function sections before proceding.

Modified:
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/debug/dwarf2/aranges-fnsec-1.c
    branches/gcc-4_5-branch/gcc/testsuite/lib/target-supports.exp


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

end of thread, other threads:[~2010-10-06 19:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-24  4:01 [Bug c/42487] New: FAIL: gcc.dg/debug/dwarf2/aranges-fnsec-1.c scan-assembler DW_AT_ranges howarth at nitro dot med dot uc dot edu
2009-12-24  4:02 ` [Bug c/42487] " howarth at nitro dot med dot uc dot edu
2009-12-24  9:42 ` jakub at gcc dot gnu dot org
2009-12-30  4:14 ` howarth at nitro dot med dot uc dot edu
2010-08-05 15:43 ` [Bug debug/42487] " danglin at gcc dot gnu dot org
2010-08-16 15:49 ` rth at gcc dot gnu dot org
2010-08-16 16:30 ` howarth at nitro dot med dot uc dot edu
2010-08-18  8:22 ` iains at gcc dot gnu dot org
2010-08-20 12:04 ` howarth at nitro dot med dot uc dot edu
     [not found] <bug-42487-4@http.gcc.gnu.org/bugzilla/>
2010-10-06 19:28 ` mrs 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).