Message ID | 0ef64a8f-0a2e-f9ba-2847-f4c64f821b26@acm.org |
---|---|
State | New |
Headers | show |
Series | c++: avoid testcase warning on arm | expand |
diff --git i/gcc/testsuite/ChangeLog w/gcc/testsuite/ChangeLog index dd2cb04916f..b98c72cdd2a 100644 --- i/gcc/testsuite/ChangeLog +++ w/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-04-17 Nathan Sidwell <nathan@acm.org> + + PR c++/94608 + * g++.dg/lto/pr83720_0.C: Add fn def to avoid warning on arm ABI. + 2020-04-17 Jakub Jelinek <jakub@redhat.com> PR rtl-optimization/94618 diff --git i/gcc/testsuite/g++.dg/lto/pr83720_0.C w/gcc/testsuite/g++.dg/lto/pr83720_0.C index 4e63c9be7cd..91f36caf2c0 100644 --- i/gcc/testsuite/g++.dg/lto/pr83720_0.C +++ w/gcc/testsuite/g++.dg/lto/pr83720_0.C @@ -48,7 +48,7 @@ public: k(al<void(b::ai)>); } d([](b::ai) { struct be { - virtual void f(); + virtual void f(){} }; struct bf; b::c<bf>().aj("", &be::f);