aboutsummaryrefslogtreecommitdiff
path: root/gcc/debug.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-09-11 19:42:03 +0200
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-10-08 10:37:15 +0200
commitd77ba2eec2a560514de162bf9499194250f291e2 (patch)
treee78264a91e0067b5da6a822d7d2d6f4da0940e9e /gcc/debug.cc
parentcfbee1856f5125bbabc28088f62a86f3dee5a159 (diff)
downloadgcc-d77ba2eec2a560514de162bf9499194250f291e2.zip
gcc-d77ba2eec2a560514de162bf9499194250f291e2.tar.gz
gcc-d77ba2eec2a560514de162bf9499194250f291e2.tar.bz2
ada: Fix bogus error in instantiation with formal package
The compiler reports that an actual does not match the formal when there is a defaulted formal discrete type because Check_Formal_Package_Instance fails to skip the implicit base type generated by the compiler. gcc/ada/ChangeLog: PR ada/114636 * sem_ch12.adb (Check_Formal_Package_Instance): For a defaulted formal discrete type, skip the generated implicit base type.
Diffstat (limited to 'gcc/debug.cc')
0 files changed, 0 insertions, 0 deletions