This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite patch: Fix PPC debug-[12].c regressions
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>, gcc-patches at gcc dot gnu dot org, Joern Rennecke <joern dot rennecke at superh dot com>
- Date: Thu, 22 May 2003 21:06:58 -0400
- Subject: Re: Testsuite patch: Fix PPC debug-[12].c regressions
>>>>> Richard Henderson writes:
Richard> On Mon, May 19, 2003 at 03:06:11PM -0400, David Edelsohn wrote:
>> If you refer back to the original discussion of the failure, the
>> only reason that the testcase succeeds with optimization when using Dwarf2
>> debugging is the annotation.
Richard> Not true.
Richard> .LASF2:
Richard> .string "xyzzy"
Richard> The variable should exist with dwarf2, but with no location
Richard> expression.
Sorry. I was basing my comment on the original assembler fragment
in the earlier thread:
Interestingly, this test continues to pass with dwarf2:
.uleb128 0x4 // (DIE (0x5c) DW_TAG_variable)
data4.ua @secrel(.LASF3) // DW_AT_name: "xyzzy"
data1 0x1 // DW_AT_decl_file
data1 0x9 // DW_AT_decl_line
data4.ua 0x68 // DW_AT_type
which only mentions xyzzy in a comment.
http://gcc.gnu.org/ml/gcc/2003-04/msg00849.html
David