diff options
author | Sam James <sam@gentoo.org> | 2024-10-25 20:55:39 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-25 22:10:23 +0100 |
commit | 908b306909f10d7592a0ef611cc77b5720f07fa7 (patch) | |
tree | 530724475b82fa13f0945ab41d4573da7f098ed0 | |
parent | e87c1af38d551cb7f81e10f57bf245a2b8f039be (diff) | |
download | gcc-908b306909f10d7592a0ef611cc77b5720f07fa7.zip gcc-908b306909f10d7592a0ef611cc77b5720f07fa7.tar.gz gcc-908b306909f10d7592a0ef611cc77b5720f07fa7.tar.bz2 |
testsuite: lto: fix pr62026 test
This failure was hidden until we started to run the test by fixing
the filename earlier: pass -Wno-return-type.
gcc/testsuite/ChangeLog:
PR lto/62026
* g++.dg/lto/pr62026_0.C: Pass -Wno-return-type.
-rw-r--r-- | gcc/testsuite/g++.dg/lto/pr62026_0.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/lto/pr62026_0.C b/gcc/testsuite/g++.dg/lto/pr62026_0.C index 0432e90..d6445ee 100644 --- a/gcc/testsuite/g++.dg/lto/pr62026_0.C +++ b/gcc/testsuite/g++.dg/lto/pr62026_0.C @@ -1,5 +1,5 @@ // { dg-lto-do link } -// { dg-lto-options {{-flto -O3 -r}} } +// { dg-lto-options {{-flto -O3 -r -Wno-return-type}} } class C; class F { virtual C m_fn1(); |