]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: lto: fix pr47333 test
authorSam James <sam@gentoo.org>
Fri, 25 Oct 2024 20:12:21 +0000 (21:12 +0100)
committerSam James <sam@gentoo.org>
Fri, 25 Oct 2024 21:10:24 +0000 (22:10 +0100)
commit2266e38cfd8071262004f164ebe37f60e2d4615d
treed5f3f4f39f0aaef720be72ae2e4129ea3d40f7a4
parent908b306909f10d7592a0ef611cc77b5720f07fa7
testsuite: lto: fix pr47333 test

This failure was hidden until we started to run the test by fixing
the filename earlier: ignore -Wtemplate-body using a pragma like
e.g. g++.dg/lto/20101010-1_0.C does because lto.exp doesn't support
dg-additional-options.

gcc/testsuite/ChangeLog:
PR lto/47333

* g++.dg/lto/pr47333_0.C: Ignore -Wtemplate-body.
gcc/testsuite/g++.dg/lto/pr47333_0.C