From: Hans-Peter Nilsson Date: Thu, 23 Jul 2020 02:27:25 +0000 (+0200) Subject: c-c++-common/builtin-has-attribute-4.c: Require visibility. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5029d42c4014ce8c9771ba7b8280d5e7770b6dee;p=gcc.git c-c++-common/builtin-has-attribute-4.c: Require visibility. Another missed attribute-visibility-requirement, causing a failure for e.g. mmix-knuth-mmixware. Committed as obvious. gcc/testsuite: * c-c++-common/builtin-has-attribute-4.c: Require visibility. --- diff --git a/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c b/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c index 3a960aae2ff..c9ab9cf3c79 100644 --- a/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c +++ b/gcc/testsuite/c-c++-common/builtin-has-attribute-4.c @@ -4,6 +4,7 @@ { dg-options "-Wall -ftrack-macro-expansion=0" } { dg-options "-Wall -Wno-narrowing -Wno-unused -ftrack-macro-expansion=0" { target c++ } } { dg-additional-options "-DSKIP_ALIAS" { target *-*-darwin* } } + { dg-require-visibility "hidden" } */ #define ATTR(...) __attribute__ ((__VA_ARGS__))