On openSUSE Tumbleweed I run into: ... (gdb) PASS: gdb.ada/set_pckd_arr_elt.exp: scenario=minimal: print sa(3) := 9 print va.t(1) := 15^M value of type `pck__variant__T6s' requires 817929850 bytes, which is more than max-value-size^M (gdb) FAIL: gdb.ada/set_pckd_arr_elt.exp: scenario=minimal: print va.t(1) := 15 ...
Offhand I don't know, but it seems to work fine with Fedora 34 gcc (11.2) and with some random git master gcc I have. Probably the fix is to just kfail the test.
It's unfortunate I didn't note down the compiler version and precise sources. I've tried to reproduce this, using: - gdb 11.2, gdb 12.1, and a gdb snapshot of the reporting date - gcc 7, 8, 9, 10, 11 and 12 I've also tried the snapshot with address sanitizer. But the problem doesn't reproduce. I'm resolving this as worksforme until I run into this again somehow.