projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78cd6a6
)
testsuite: localclass2 require LTO
author
David Edelsohn
<dje.gcc@gmail.com>
Sat, 21 Nov 2020 20:43:05 +0000
(15:43 -0500)
committer
David Edelsohn
<dje.gcc@gmail.com>
Sat, 21 Nov 2020 20:47:19 +0000
(15:47 -0500)
The testcase uses LTO but does not include the dg-require LTO.
gcc/testsuite/ChangeLog:
* g++.dg/debug/localclass2.C: Require LTO.
gcc/testsuite/g++.dg/debug/localclass2.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/debug/localclass2.C
b/gcc/testsuite/g++.dg/debug/localclass2.C
index 3dd7cae322ddec7188e65cb59b62b0459e0a89aa..9897eec5d2d04f02a87dfb99bda0a7e0b1078ef1 100644
(file)
--- a/
gcc/testsuite/g++.dg/debug/localclass2.C
+++ b/
gcc/testsuite/g++.dg/debug/localclass2.C
@@
-1,6
+1,7
@@
// PR c++/97918
-// { dg-additional-options "-g -O -flto" }
// { dg-do compile { target c++11 } }
+// { dg-require-effective-target lto }
+// { dg-additional-options "-g -O -flto" }
namespace { class A {}; }
class B {};