From 256f2b632908ba46bb185c4850fc8e79dfdb9dbc Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 17 Apr 2020 06:07:33 -0700 Subject: [PATCH] Avoid testcase warning on arm ABI [pr94608] PR c++/94608 * g++.dg/lto/pr83720_0.C: Add fn def to avoid warning on arm ABI. --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/lto/pr83720_0.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dd2cb04916f..b98c72cdd2a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-04-17 Nathan Sidwell + + PR c++/94608 + * g++.dg/lto/pr83720_0.C: Add fn def to avoid warning on arm ABI. + 2020-04-17 Jakub Jelinek PR rtl-optimization/94618 diff --git a/gcc/testsuite/g++.dg/lto/pr83720_0.C b/gcc/testsuite/g++.dg/lto/pr83720_0.C index 4e63c9be7cd..91f36caf2c0 100644 --- a/gcc/testsuite/g++.dg/lto/pr83720_0.C +++ b/gcc/testsuite/g++.dg/lto/pr83720_0.C @@ -48,7 +48,7 @@ public: k(al); } d([](b::ai) { struct be { - virtual void f(); + virtual void f(){} }; struct bf; b::c().aj("", &be::f); -- 2.30.2