This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]