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] | |
Kai Tietz/Onevision wrote on 25.09.2008 12:09:13:
> Hi,
>
> this patch fixes the enum debugging output for option -gcoff for w64
> target (maybe other targets too). The problem was that the value of
> the enum tag can be a CONST_DECL, which needs to be resolved by
> DECL_INITIAL. This can be tested by g++.dg/debug/enum-1.C testcase,
> where the tags of the enum were not dumped into debug information for
-gcoff.
>
> ChangeLog
>
2008-09-25 Kai Tietz <kai.tietz@onevision.com>
* sdbout.c (sdbout_one_type): Treat the value type
CONST_DECL for enumerals.
I found a typo in my previous patch and correct it. Sorry.
Tested on x86_64-pc-mingw32 and regression tested on i686-pc-cygwin.
Ok for apply to trunk?
Kai
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
Attachment:
w64-sdbout.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |