https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333
--- Comment #46 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sam James <sja...@gcc.gnu.org>: https://gcc.gnu.org/g:2266e38cfd8071262004f164ebe37f60e2d4615d commit r15-4688-g2266e38cfd8071262004f164ebe37f60e2d4615d Author: Sam James <s...@gentoo.org> Date: Fri Oct 25 21:12:21 2024 +0100 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.