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: [patch dwarf]: PR/47209 Segfault in should_emit_struct_debug


2011/1/11 Kai Tietz <ktietz70@googlemail.com>:
> 2011/1/11 H.J. Lu <hjl.tools@gmail.com>:
>> On Tue, Jan 11, 2011 at 12:58 PM, Kai Tietz <ktietz70@googlemail.com> wrote:
>>> Hello,
>>>
>>> following patch fixes reported segfault at
>>>
>>> ChangeLog
>>>
>>> 2011-01-11 ?Kai Tietz
>>>
>>> ? ? ? ? ?PR debug/47209
>>> ? ? ? ? ?* dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
>>> ? ? ? ? ?of type.
>>>
>>> Tested for x86_64-pc-linux-gnu and x86_64-pc-mingw32. Ok for apply?
>>>
>>
>> You need to add testcases.
>>
>>
>> --
>> H.J.
>>

Sorry had a -g in option list, which isn't necessary. Updated patch

ChangeLog for testsuite

         PR debug/47209
         * g++.dg/debug/pr47209.C: New.

Regards,
Kai

Attachment: pr47209.txt
Description: Text document


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