aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2ctf.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-06-17 21:22:06 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-07-02 15:20:34 +0200
commit693985f4d83c38a59967b98a9c700aaccd07e245 (patch)
tree5dcd26c28d6fea248ba6502a70fb8d7eab465e01 /gcc/dwarf2ctf.cc
parent9fbf6517c73981c2050fe5b0260ca796217d43d5 (diff)
downloadgcc-693985f4d83c38a59967b98a9c700aaccd07e245.zip
gcc-693985f4d83c38a59967b98a9c700aaccd07e245.tar.gz
gcc-693985f4d83c38a59967b98a9c700aaccd07e245.tar.bz2
ada: Fix bogus error on allocator in instantiation with private derived types
The problem is that the call to Convert_View made from Make_Init_Call does nothing because the Etype is not set on the second argument. gcc/ada/ * exp_ch7.adb (Convert_View): Add third parameter Typ and use it if the second parameter does not have an Etype. (Make_Adjust_Call): Remove obsolete setting of Etype and pass Typ in call to Convert_View. (Make_Final_Call): Likewise. (Make_Init_Call): Pass Typ in call to Convert_View.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions