diff mbox series

[committed] Fix test failures that require alias support on hppa*-*-hpux*

Message ID 8c998615-ebc5-d5b9-4be9-5ddbba2bf0d2@bell.net
State New
Headers show
Series [committed] Fix test failures that require alias support on hppa*-*-hpux* | expand

Commit Message

John David Anglin March 17, 2019, 6:03 p.m. UTC
Committed to trunk.

Dave
diff mbox series

Patch

Index: c-c++-common/builtin-has-attribute-3.c
===================================================================
--- c-c++-common/builtin-has-attribute-3.c	(revision 269717)
+++ c-c++-common/builtin-has-attribute-3.c	(working copy)
@@ -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__))
Index: gcc.dg/attr-copy.c
===================================================================
--- gcc.dg/attr-copy.c	(revision 269717)
+++ gcc.dg/attr-copy.c	(working copy)
@@ -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)
Index: gcc.dg/ipa/ipa-icf-39.c
===================================================================
--- gcc.dg/ipa/ipa-icf-39.c	(revision 269717)
+++ gcc.dg/ipa/ipa-icf-39.c	(working copy)
@@ -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" } */