summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pragma-align-2.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-23 09:42:50 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-23 09:42:50 +0000
commit497456568ee71f05fa172e71345e88b29b7c5b8f (patch)
tree864c5fd7d865a3cc34512e15a3005c0967e2dad5 /gcc/testsuite/gcc.dg/pragma-align-2.c
parent301b177e7a1e651264e8928544a8fcd4bc7fe894 (diff)
downloadgcc-497456568ee71f05fa172e71345e88b29b7c5b8f.tar.gz
* gcc.dg/pragma-init-fini.c: Use dg-warning in lieu of dg-error.
* gcc.dg/pragma-align-2.c: Likewise. * gcc.dg/format/cmn-err-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pragma-align-2.c')
-rw-r--r--gcc/testsuite/gcc.dg/pragma-align-2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/pragma-align-2.c b/gcc/testsuite/gcc.dg/pragma-align-2.c
index e33f24a27da..ac5858cab00 100644
--- a/gcc/testsuite/gcc.dg/pragma-align-2.c
+++ b/gcc/testsuite/gcc.dg/pragma-align-2.c
@@ -19,15 +19,15 @@ void abort (void);
#pragma align 8(not_defined)
-#pragma align 9(odd_align) /* { dg-error "invalid alignment" } */
-#pragma align 256(high_align) /* { dg-error "invalid alignment" } */
-#pragma align -1(neg_align) /* { dg-error "malformed" } */
-#pragma align bad_align /* { dg-error "malformed" } */
-#pragma align 1(bad_align /* { dg-error "malformed" } */
+#pragma align 9(odd_align) /* { dg-warning "invalid alignment" } */
+#pragma align 256(high_align) /* { dg-warning "invalid alignment" } */
+#pragma align -1(neg_align) /* { dg-warning "malformed" } */
+#pragma align bad_align /* { dg-warning "malformed" } */
+#pragma align 1(bad_align /* { dg-warning "malformed" } */
int x, x1, x2, x4, x8, y8, z8, x16, x32, x64, x128, y128, z128;
-#pragma align 16(x) /* { dg-error "must appear before" } */
+#pragma align 16(x) /* { dg-warning "must appear before" } */
int
main ()