This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/7241 (regression from 2.95.x)
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 2 Sep 2005 14:16:59 -0400
- Subject: Re: [PATCH] Fix PR debug/7241 (regression from 2.95.x)
- References: <20050901140522.GG7403@devserv.devel.redhat.com>
On Sep 1, 2005, at 10:05 AM, Jakub Jelinek wrote:
Hi!
I'm very sorry, completely forgot about this.
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00534.html
has been approved by Mark more than 3 years ago:
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00540.html
but I forgot to check it in. The following is what I have retested
now (incorporating the suggestion by Jason to not check type_name
in that case, as it is known to be "char"). I fixed also a bunch
of obvious bugs in the debug/dwarf2/ tests (missing closing }
for { dg-do compile) and committed to HEAD (or is it supposed to be
approved again?) and 4.0.
Hmm, the testcases fail on powerpc-darwin7.4:
FAIL: gcc.dg/debug/dwarf2/dwarf-char1.c scan-assembler 0x[68][ \\t]#
DW_AT_encoding
FAIL: gcc.dg/debug/dwarf2/dwarf-char2.c scan-assembler 0x[68][ \\t]#
DW_AT_encoding
FAIL: gcc.dg/debug/dwarf2/dwarf-char3.c scan-assembler 0x[68][ \\t]#
DW_AT_encoding
FAIL: gcc.dg/debug/dwarf2/dwarf-char1.c scan-assembler 0x[68][ \\t]#
DW_AT_encoding
FAIL: gcc.dg/debug/dwarf2/dwarf-char2.c scan-assembler 0x[68][ \\t]#
DW_AT_encoding
FAIL: gcc.dg/debug/dwarf2/dwarf-char3.c scan-assembler 0x[68][ \\t]#
DW_AT_encoding
But when Look into the asm file, I get:
.ascii "char\0" ; DW_AT_name
.byte 0x1 ; DW_AT_byte_size
.byte 0x6 ; DW_AT_encoding
-- Pinski