[gdb/testsuite] Add xfail for PR gcc/101633
authorTom de Vries <tdevries@suse.de>
Tue, 27 Jul 2021 15:14:17 +0000 (17:14 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 27 Jul 2021 15:14:17 +0000 (17:14 +0200)
commit7e292f1ab8f9d5df484ffd14ca73245da2bcef21
tree218b17036fd39943d165c9045a9e3903fe36efb7
parent26e4f978b0b93b71537929370da97ec46667d5ac
[gdb/testsuite] Add xfail for PR gcc/101633

With gcc 7.5.0, I run into:
...
(gdb) print objects^M
$1 = ((tag => object, values => ()), (tag => unused))^M
(gdb) FAIL: gdb.ada/array_of_variant.exp: scenario=minimal: print entire array
...
while with gcc 8.5.0 we have:
...
(gdb) print objects^M
$1 = ((tag => object, values => (2, 2, 2, 2, 2)), (tag => unused))^M
(gdb) PASS: gdb.ada/array_of_variant.exp: scenario=minimal: print entire array
...

This is due to a gcc PR, which I've filed at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101633 "Bug 101633 - [debug]
DW_TAG_subrange_type missing DW_AT_upper_bound".

Fix by marking this and related FAILs as XFAIL.

Tested on x86_64-linux.

gdb/ChangeLog:

2021-07-27  Tom de Vries  <tdevries@suse.de>

PR testsuite/26903
* gdb/testsuite/gdb.ada/array_of_variant.exp: Add xfails.
gdb/ChangeLog
gdb/testsuite/gdb.ada/array_of_variant.exp
This page took 0.025603 seconds and 4 git commands to generate.