From: Nathan Sidwell Date: Fri, 16 Feb 2018 19:33:18 +0000 (+0000) Subject: [C++ PATCH] Deprecate -ffriend-injection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7f77b9d7e59d2ded296954df1bd43872012e957;p=gcc.git [C++ PATCH] Deprecate -ffriend-injection https://gcc.gnu.org/ml/gcc-patches/2018-02/msg01022.html * g++.old-deja/g++.jason/scoping15.C: Fix dg-warning. From-SVN: r257756 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e5aebb10baf..51f8d1f1a59 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-02-16 Nathan Sidwell + + * g++.old-deja/g++.jason/scoping15.C: Fix dg-warning. + 2018-02-16 Vladimir Makarov PR rtl-optimization/70023 diff --git a/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C b/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C index 69207e9334b..c677b0d36d3 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/scoping15.C @@ -13,7 +13,7 @@ public: class FComplex { public: - friend float imag(const FComplex& a); // { dg-warning "is visible" + friend float imag(const FComplex& a); // { dg-warning "is visible" } }; void @@ -22,4 +22,4 @@ scnrm2(FComplex cx[]) int imag; ::imag( cx[0] ); } -// { dg-warning "ffriend-injection.* is deprecated" "" { target *-*-* } cc1plus: } +// { dg-warning "ffriend-injection.* is deprecated" "cc1plus:" { target *-*-* } 0 }