> 2011-11-06 Joseph Myers <[email protected]>
>
> * g++.dg/cpp0x/alignof3.C, gcc.dg/c1x-align-1.c,
> gcc.dg/c1x-align-2.c, gcc.dg/c1x-align-3.c, gcc.dg/c1x-align-4.c,
> gcc.dg/c90-align-1.c, gcc.dg/c99-align-1.c: New tests.
> * gcc.dg/gnu89-const-expr-1.c, gcc.dg/gnu90-const-expr-1.c,
> gcc.dg/gnu99-const-expr-1.c, gcc.dg/gnu99-static-1.c: Update
> expected diagnostics.
We also need this adjustment on Solaris, otherwise compilation now stops.
Tested on Solaris 8, applied on the mainline as obvious.
2011-11-07 Eric Botcazou <[email protected]>
* gcc.dg/pragma-align-2.c: Compile with -std=gnu99.
--
Eric Botcazou
Index: gcc.dg/pragma-align-2.c
===================================================================
--- gcc.dg/pragma-align-2.c (revision 181079)
+++ gcc.dg/pragma-align-2.c (working copy)
@@ -1,4 +1,5 @@
/* { dg-do run { target *-*-solaris2.* } } */
+/* { dg-options "-std=gnu99" } */
void abort (void);