diff options
author | Richard Biener <rguenther@suse.de> | 2025-01-31 08:56:39 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-01-31 11:50:59 +0100 |
commit | 319f1d042179b381becf4bf1d0f6b9dab6e84884 (patch) | |
tree | 919c4eda80bc516eddcdefd00505534e07245305 /gcc/ada/gcc-interface/utils.cc | |
parent | 85e1714b0606579a339c234510063e057fe662af (diff) | |
download | gcc-319f1d042179b381becf4bf1d0f6b9dab6e84884.zip gcc-319f1d042179b381becf4bf1d0f6b9dab6e84884.tar.gz gcc-319f1d042179b381becf4bf1d0f6b9dab6e84884.tar.bz2 |
debug/100530 - Revert QUAL_ADDR_SPACE handling from dwarf2out.cc
The bug clearly shows that r8-4385-ga297ccb52e0c89 was wrong in
enabling handling of address-space qualification as DWARF type
qualifiers as the code isn't prepared to it actually be not handled
and ends up changing a lesser qualified (without address-space)
type DIE in ways tripping asserts. The following reverts that
part which then causes the DIE for the same type with address-space
qualifiers removed to be re-used since there's currently no code
to encode address-spaces within dwarf2out.cc or in the DWARF spec.
r8-4385-ga297ccb52e0c89 did not come with a testcase nor a good
description of the bug fixed - I've verified const qualification
mixed with address-spaces creates the expected DWARF.
PR debug/100530
* dwarf2out.cc (modified_type_die): Do not claim we handle
address-space qualification with dwarf_qual_info[].
* gcc.target/i386/pr100530.c: New testcase.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.cc')
0 files changed, 0 insertions, 0 deletions