[Bug c++/60948] incorrect debug info for reference type of function parameters
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 24 05:54:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60948
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
DW_TAG_const_type -> DW_TAG_reference_type -> DW_TAG_base_type (int)
is not IMHO the same thing as const int &, but int & const, though the fact
that the reference is constant is redundant, all references are.
const int & would be
DW_TAG_reference_type -> DW_TAG_const_type -> DW_TAG_base_type (int)
or redundantly:
DW_TAG_const_type -> DW_TAG_reference_type -> DW_TAG_const_type ->
DW_TAG_base_type (int)
More information about the Gcc-bugs
mailing list