diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 905791df7cb671e4ed29bb72b71fa873a1f96b2d..7278ffe47eb639d05426f37b9230e38d445bcbf3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2019-03-17 John David Anglin <danglin@gcc.gnu.org> + + PR testsuite/89666 + * c-c++-common/builtin-has-attribute-3.c: Define SKIP_ALIAS on + hppa*-*-hpux*. + * gcc.dg/attr-copy.c: Require alias support. + * gcc.dg/ipa/ipa-icf-39.c: Likewise. + 2019-03-16 Jakub Jelinek <jakub@redhat.com> PR fortran/89724 diff --git a/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c b/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c index 5b2e5c7c762b0cec4bb7df9697efd64eee8f8dcd..2a59501b9f30f06ea405d014c251b7c073ce0a41 100644 --- a/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c +++ b/gcc/testsuite/c-c++-common/builtin-has-attribute-3.c @@ -2,7 +2,7 @@ { dg-do compile } { dg-options "-Wall -ftrack-macro-expansion=0" } { dg-options "-Wall -Wno-narrowing -Wno-unused-local-typedefs -ftrack-macro-expansion=0" { target c++ } } - { dg-additional-options "-DSKIP_ALIAS" { target *-*-darwin* } } + { dg-additional-options "-DSKIP_ALIAS" { target *-*-darwin* hppa*-*-hpux* } } */ #define ATTR(...) __attribute__ ((__VA_ARGS__)) diff --git a/gcc/testsuite/gcc.dg/attr-copy.c b/gcc/testsuite/gcc.dg/attr-copy.c index 27cd7bc5be62ddfdef5ffc453d8c37cc28588bda..8bd537acf73b34f9aa7f4cfd5289c19887ab106f 100644 --- a/gcc/testsuite/gcc.dg/attr-copy.c +++ b/gcc/testsuite/gcc.dg/attr-copy.c @@ -1,6 +1,7 @@ /* PR middle-end/81824 - Warn for missing attributes with function aliases Exercise error handling for attribute copy. { dg-do compile } + { dg-require-alias "" } { dg-options "-O2 -Wall" } */ #define ATTR(list) __attribute__ (list) diff --git a/gcc/testsuite/gcc.dg/ipa/ipa-icf-39.c b/gcc/testsuite/gcc.dg/ipa/ipa-icf-39.c index aa7c28706d3721a6655079efa50640f6f55ed20f..18bd4b0e5be9b99917790c3cf0d5bd5e54081734 100644 --- a/gcc/testsuite/gcc.dg/ipa/ipa-icf-39.c +++ b/gcc/testsuite/gcc.dg/ipa/ipa-icf-39.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-alias "" } */ /* { dg-options "-O2 -fdump-ipa-icf -fmerge-all-constants -fdbg-cnt=merged_ipa_icf:1:3" } */ /* { dg-prune-output "dbg_cnt 'merged_ipa_icf' set to 1-3" } */