diff options
author | Gary Benson <gbenson@redhat.com> | 2020-07-13 14:47:44 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2020-07-13 14:47:44 +0100 |
commit | 3f00c730acee9d452ba81a3083f2c02d13c9f312 (patch) | |
tree | b4989447d3d0663ca8ca0066f3f738fb60034ccf /gdb/tracectf.c | |
parent | 7a34d0ea4ddd5ff205637fbad5faf2e977921720 (diff) | |
download | gdb-3f00c730acee9d452ba81a3083f2c02d13c9f312.zip gdb-3f00c730acee9d452ba81a3083f2c02d13c9f312.tar.gz gdb-3f00c730acee9d452ba81a3083f2c02d13c9f312.tar.bz2 |
Skip VLA structure field tests when compiling with clang
Clang fails to compile gdb.base/vla-datatypes.c with the following
error: fields must have a constant size: 'variable length array in
structure' extension will never be supported. This commit factors
the affected tests out into a new testcase, vla-struct-fields.{exp,c},
which is skipped when the testcase is compiled using clang,
gdb/testsuite/ChangeLog:
* gdb.base/vla-datatypes.c (vla_factory): Factor out sections
defining and using VLA structure fields into...
* gdb.base/vla-struct-fields.c: New file.
* gdb.base/vla-datatypes.exp: Factor out VLA structure field
tests into...
* gdb.base/vla-struct-fields.exp: New file.
Diffstat (limited to 'gdb/tracectf.c')
0 files changed, 0 insertions, 0 deletions