diff mbox series

[committed] Fix tests needing large alignment on hppa*-*-hpux*

Message ID 7ccdde30-f73e-d0f3-fa24-411c242396ce@bell.net
State New
Headers show
Series [committed] Fix tests needing large alignment on hppa*-*-hpux* | expand

Commit Message

John David Anglin March 16, 2019, 5:11 p.m. UTC
We need to disable common for tests needing large alignments.

Committed to trunk.

Dave
diff mbox series

Patch

Index: gcc.dg/Wattributes-10.c
===================================================================
--- gcc.dg/Wattributes-10.c	(revision 269717)
+++ gcc.dg/Wattributes-10.c	(working copy)
@@ -1,7 +1,8 @@ 
 /* PR middle-end/86453 - error: type variant differs by TYPE_PACKED in
    free_lang_data since r255469
    { dg-do compile }
-   { dg-options "-Wall -ftrack-macro-expansion=0" } */
+   { dg-options "-Wall -ftrack-macro-expansion=0" }
+   { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */

 #define A(expr) do { int a[1 - 2 * !(expr)]; (void)&a; } while (0)

Index: gcc.dg/compat/pr83487-2_x.c
===================================================================
--- gcc.dg/compat/pr83487-2_x.c	(revision 269717)
+++ gcc.dg/compat/pr83487-2_x.c	(working copy)
@@ -1,2 +1,3 @@ 
+/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
 #define PR83487_LARGE
 #include "pr83487-1_x.c"
Index: gcc.dg/compat/pr83487-2_y.c
===================================================================
--- gcc.dg/compat/pr83487-2_y.c	(revision 269717)
+++ gcc.dg/compat/pr83487-2_y.c	(working copy)
@@ -1,2 +1,3 @@ 
+/* { dg-options "-fno-common" { target { hppa*-*-hpux* } } } */
 #define PR83487_LARGE
 #include "pr83487-1_y.c"
Index: gcc.dg/gimplefe-34.c
===================================================================
--- gcc.dg/gimplefe-34.c	(revision 269717)
+++ gcc.dg/gimplefe-34.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-fgimple" } */
+/* { dg-additional-options "-fno-common" { target hppa*-*-hpux* } } */

 typedef unsigned char v16qi __attribute__((vector_size(16)));
 typedef unsigned char v8qi __attribute__((vector_size(8)));