diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-06-28 15:13:34 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-06-28 15:15:16 +0100 |
commit | 75f948f089ceb8888fd00913635264e20610d0f2 (patch) | |
tree | a87a43c99114ceee727366f3048a598fd931db38 /gcc/dwarf2ctf.c | |
parent | b7a89c041aa1d67654f1ba7b2839e221c3e14748 (diff) | |
download | gcc-75f948f089ceb8888fd00913635264e20610d0f2.zip gcc-75f948f089ceb8888fd00913635264e20610d0f2.tar.gz gcc-75f948f089ceb8888fd00913635264e20610d0f2.tar.bz2 |
libstdc++: Fix backwards logic in 17_intro/names.cc test [PR 97088]
I meant to undef the names that clash with newlib headers for newlib,
but I only undef'd them for non-newlib targets. This means they still
cause errors for newlib, and aren't tested for other targets.
This fixes the test to check those names for non-newlib targets, and to
undef them to avoid errors for newlib.
libstdc++-v3/ChangeLog:
PR libstdc++/97088
* testsuite/17_intro/names.cc: Fix #if condition for names used
by newlib headers.
Diffstat (limited to 'gcc/dwarf2ctf.c')
0 files changed, 0 insertions, 0 deletions