diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2024-08-14 04:38:05 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2024-08-16 03:06:53 +0200 |
commit | 98e1b19f6690f5e19031ba4f843c22208bbfb14a (patch) | |
tree | dbd3e1cde43f10fedad9d4443e5884c3145b1eac /libgomp/icv-device.c | |
parent | 0601c8824d1243200c49f0d4e49f58cc88cc367e (diff) | |
download | gcc-98e1b19f6690f5e19031ba4f843c22208bbfb14a.zip gcc-98e1b19f6690f5e19031ba4f843c22208bbfb14a.tar.gz gcc-98e1b19f6690f5e19031ba4f843c22208bbfb14a.tar.bz2 |
libstdc++-v3: testsuite: Prune uncapitalized "in function" linker warning
Newer newlib trigger warnings about certain functions not implemented
(_getentropy) when testing libstdc++-v3.
Since 2018 (circa binutils-2.31) the "in function" prefix isn't
capitalized for those "not implemented" warnings when generated from
the linker (a GNU ld feature used by newlib). Dejagnu up to and
including at least dejagnu-1.6.3 (and git @ 42979bd3b9) assumes a
capital "In function", leaving that part unpruned, and boom we have
thousands of "excess errors" from the libstdc++-v3 testsuite.
While gcc/testsuite/lib/prune.exp:prune_gcc_output already deals with
this quirk with a vastly more generic pattern, I choose this simpler
tweak.
libstdc++-v3:
* testsuite/lib/prune.exp (libstdc++-dg-prune): Prune
uncapitalized "in function" warning from linker.
Diffstat (limited to 'libgomp/icv-device.c')
0 files changed, 0 insertions, 0 deletions