[Bug testsuite/48238] New: FAIL: gcc.dg/debug/dwarf2/pr47939-0.c scan-assembler on *-apple-darwin*
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Tue Mar 22 14:51:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48238
Summary: FAIL: gcc.dg/debug/dwarf2/pr47939-0.c scan-assembler
on *-apple-darwin*
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: rguenther@suse.de
revision: 171245
Author: rguenth
Date: Mon Mar 21 15:32:21 2011 UTC (22 hours, 54 minutes ago)
Changed paths: 7
Log Message:
2011-03-21 Richard Guenther <rguenther@suse.de>
PR c/47939
* c-decl.c (grokdeclarator): Drop to the main variant only
for array types. Drop flag_gen_aux_info check.
* gcc.dg/debug/dwarf2/pr47939-1.c: New testcase.
* gcc.dg/debug/dwarf2/pr47939-2.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-3.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-4.c: Likewise.
These tests fail on *-apple-darwin* (see
http://gcc.gnu.org/ml/gcc-testresults/2011-03/msg02177.html). The occurrences
of 'Harry_t' in the assembly file are:
39 - .byte 0x5 # DW_AT_encoding
40 - .ascii "int\0" # DW_AT_name
41 - .byte 0x5 # uleb128 0x5; (DIE (0xc2) DW_TAG_typedef)
42 : .ascii "Harry_t\0" # DW_AT_name
43 + .byte 0x1 # DW_AT_decl_file
(/opt/gcc/work/gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-1.c)
44 + .byte 0x4 # DW_AT_decl_line
45 + .long 0x9b # DW_AT_type
165 - .long 0x9b # DIE offset
166 - .ascii "_Harry\0" # external name
167 - .long 0xc2 # DIE offset
168 : .ascii "Harry_t\0" # external name
169 + .long 0
170 + .section __DWARF,__debug_line,regular,debug
171 + Lsection__debug_line:
More information about the Gcc-bugs
mailing list