diff options
| author | Eric Botcazou <ebotcazou@adacore.com> | 2026-02-02 19:40:33 +0100 |
|---|---|---|
| committer | Eric Botcazou <ebotcazou@adacore.com> | 2026-02-02 19:43:08 +0100 |
| commit | dda809f25ee115af1566a44340d7570f2bde09d8 (patch) | |
| tree | e427a30cb247315ecd41e2e01a504b878fc63245 /libjava/classpath/gnu/java/lang | |
| parent | e02eba0dc7d1aa62c5edf7108e641bcb5c5584b8 (diff) | |
| download | gcc-dda809f25ee115af1566a44340d7570f2bde09d8.zip gcc-dda809f25ee115af1566a44340d7570f2bde09d8.tar.gz gcc-dda809f25ee115af1566a44340d7570f2bde09d8.tar.bz2 | |
Ada: Fix profile conformance glitch with limited_with and incomplete type
That's an old issue, but the fix is quite straightforward.
gcc/ada/
PR ada/89159
* sem_ch6.adb (Conforming_Types.Is_Matching_Limited_View): Return
true when the type is an incomplete view of the non-limited view.
gcc/testsuite/
* gnat.dg/limited_with8.adb: New test.
* gnat.dg/limited_with8_pkg1.ads: New helper.
* gnat.dg/limited_with8_pkg2.ads: Likewise.
* gnat.dg/limited_with8_pkg2.adb: Likewise.
Diffstat (limited to 'libjava/classpath/gnu/java/lang')
0 files changed, 0 insertions, 0 deletions
