]> gcc.gnu.org Git - gcc.git/commit
testsuite: ctf: make array in ctf-file-scope-1 fixed length
authorDavid Faust <david.faust@oracle.com>
Fri, 1 Mar 2024 18:43:24 +0000 (10:43 -0800)
committerDavid Faust <david.faust@oracle.com>
Fri, 1 Mar 2024 19:07:16 +0000 (11:07 -0800)
commit64221c7bffbdd399e49554b0fb08b38325657596
tree40beeb38863faf0265db6b03cebd115862a95ad7
parentdb0b6746be075e43c8142585968483e125bb52d0
testsuite: ctf: make array in ctf-file-scope-1 fixed length

The array member of struct SFOO in the ctf-file-scope-1 caused the test
to fail for the BPF target, since BPF does not support dynamic stack
allocation. The array does not need to variable length for the sake of
the test, so make it fixed length instead to allow the test to run
successfully for the bpf-unknown-none target.

gcc/testsuite/

* gcc.dg/debug/ctf/ctf-file-scope-1.c (SFOO): Make array member
fixed-length.
gcc/testsuite/gcc.dg/debug/ctf/ctf-file-scope-1.c
This page took 0.060336 seconds and 5 git commands to generate.