From 6f59f36b9a5dcfbaf3893623f2588f207ddd8cbb Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Mon, 12 Nov 2018 18:02:41 +0000 Subject: [PATCH] PR c/81824 - Warn for missing attributes with function aliases gcc/testsuite/ChangeLog: * gcc.dg/Wattribute-alias.c: Require ifunc support. From-SVN: r266034 --- gcc/testsuite/ChangeLog | 6 +++++- gcc/testsuite/gcc.dg/Wattribute-alias.c | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 64b072f2293..f2a4baf3b00 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-11-12 Martin Sebor + + PR c/81824 + * gcc.dg/Wattribute-alias.c: Require ifunc support. + 2018-11-12 Renlin Li PR target/87815 @@ -189,7 +194,6 @@ * gcc.dg/pr87600-1.c: New test. * gcc.dg/pr87600-2.c: Likewise. ->>>>>>> .r265976 2018-11-08 Jakub Jelinek * c-c++-common/gomp/atomic-17.c: New test. diff --git a/gcc/testsuite/gcc.dg/Wattribute-alias.c b/gcc/testsuite/gcc.dg/Wattribute-alias.c index 175e40b4764..223da3a2568 100644 --- a/gcc/testsuite/gcc.dg/Wattribute-alias.c +++ b/gcc/testsuite/gcc.dg/Wattribute-alias.c @@ -1,5 +1,6 @@ /* PR middle-end/81824 - Warn for missing attributes with function aliases { dg-do compile } + { dg-require-ifunc "require ifunc support" } { dg-options "-Wall -Wattribute-alias=2" } */ #define ATTR(...) __attribute__ ((__VA_ARGS__)) -- 2.30.2