diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-09-23 12:57:37 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-09-23 12:57:37 +0200 |
commit | 030ef1fba5d03893d6cd2ae86395aadb76d788b7 (patch) | |
tree | 7afdbb1c375064e4de12d3d2105aa6d086994c1e /gcc | |
parent | 9f2e34e1eb08cf02cb454edb67fc3dacb8b1b555 (diff) | |
download | gcc-030ef1fba5d03893d6cd2ae86395aadb76d788b7.zip gcc-030ef1fba5d03893d6cd2ae86395aadb76d788b7.tar.gz gcc-030ef1fba5d03893d6cd2ae86395aadb76d788b7.tar.bz2 |
alloca-4.c: Remove -m32 from dg-options.
* gcc.dg/torture/stackalign/alloca-4.c: Remove -m32 from dg-options.
* gcc.dg/torture/stackalign/alloca-5.c: Likewise. Fix up -DDEBUG
build.
From-SVN: r164554
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/stackalign/alloca-4.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/stackalign/alloca-5.c | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 58497f3..e102d03 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-09-23 Jakub Jelinek <jakub@redhat.com> + + * gcc.dg/torture/stackalign/alloca-4.c: Remove -m32 from dg-options. + * gcc.dg/torture/stackalign/alloca-5.c: Likewise. Fix up -DDEBUG + build. + 2010-09-23 Bernd Schmidt <bernds@codesourcery.com> PR rtl-optimization/44374 diff --git a/gcc/testsuite/gcc.dg/torture/stackalign/alloca-4.c b/gcc/testsuite/gcc.dg/torture/stackalign/alloca-4.c index 0ff0d02..c3e554a 100644 --- a/gcc/testsuite/gcc.dg/torture/stackalign/alloca-4.c +++ b/gcc/testsuite/gcc.dg/torture/stackalign/alloca-4.c @@ -1,6 +1,6 @@ /* PR middle-end/37009 */ /* { dg-do run { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ -/* { dg-options "-m32 -mincoming-stack-boundary=2 -mpreferred-stack-boundary=2" } */ +/* { dg-options "-mincoming-stack-boundary=2 -mpreferred-stack-boundary=2" } */ #include "check.h" diff --git a/gcc/testsuite/gcc.dg/torture/stackalign/alloca-5.c b/gcc/testsuite/gcc.dg/torture/stackalign/alloca-5.c index a91d3fc..2ef4443 100644 --- a/gcc/testsuite/gcc.dg/torture/stackalign/alloca-5.c +++ b/gcc/testsuite/gcc.dg/torture/stackalign/alloca-5.c @@ -1,6 +1,6 @@ /* PR middle-end/45234 */ /* { dg-do run { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ -/* { dg-options "-m32 -mincoming-stack-boundary=2 -mpreferred-stack-boundary=2" } */ +/* { dg-options "-mincoming-stack-boundary=2 -mpreferred-stack-boundary=2" } */ #include "check.h" @@ -22,7 +22,7 @@ main (void) if (__builtin_strncmp (p, "good", 5) != 0) { #ifdef DEBUG - p[size] = '\0'; + p[5] = '\0'; printf ("Failed: %s != good\n", p); #endif abort (); |