diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2024-11-16 08:24:20 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-11-16 08:24:20 -0700 |
commit | 8e2b9c800d10e1a7979e38c168a076e7b7403807 (patch) | |
tree | 351f2726a892808ea2cc569db818103ac0f9627b /libcpp/files.cc | |
parent | 601a734188f3d2d344202dac182218503c487550 (diff) | |
download | gcc-8e2b9c800d10e1a7979e38c168a076e7b7403807.zip gcc-8e2b9c800d10e1a7979e38c168a076e7b7403807.tar.gz gcc-8e2b9c800d10e1a7979e38c168a076e7b7403807.tar.bz2 |
[committed] Fix compilation of testglue wrapper after c23 changes
testglue.c (which is used for exit/abort wrappers in the testsuite) isn't c23
compatible. The testing harness tries to build testglue.c and use it, but
doesn't report a failure if the build fails, instead it's just not used. As a
result we get all kinds of failures on targets which depend on testglue to
report back simulator status -- like tens of thousands of execution failures.
This patch just adds -std=gnu17 to the command line to build testglue.c.
There's other fallout from the c23 change.. My tester is chewing through
things right now...
Installing on the trunk.
testsuite
* lib/wrapper.exp (${tool}_maybe_build_wrapper): Pass -std=gnu17 flag
to build testglue wrapper.
Diffstat (limited to 'libcpp/files.cc')
0 files changed, 0 insertions, 0 deletions