This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/53235] [4.8 Regression] 20120504 broke -fdebug-types-section
- From: "jan.kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 May 2012 14:32:59 +0000
- Subject: [Bug debug/53235] [4.8 Regression] 20120504 broke -fdebug-types-section
- Auto-submitted: auto-generated
- References: <bug-53235-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53235
--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-05-07 14:32:59 UTC ---
(In reply to comment #1)
> The testcase is failing because of the change from "A*" to "struct A*"?
Yes.
> Is that an important distinction?
In other cases it even crashes GDB, originally filed as:
http://sourceware.org/bugzilla/show_bug.cgi?id=14060
Or I see
Internal error: non-aggregate type to value_struct_elt_for_reference
Function "policy1::function" not defined.
etc.
> If so, could you handle the case of a nameless typedef specially on your end?
Yes; I wanted to know first if this is an intended change.
FYI it does not seem to be DWARF compliant:
The typedef entry has a DW_AT_name attribute whose value is a null-terminated
string containing the name of the typedef as it appears in the source
program.