summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-28 09:39:13 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-28 09:39:13 +0000
commite28f683e43459b30572ab442010230be9259a070 (patch)
tree6d1887429886f6560aa74689ca64e9836f4938db /gcc
parentf6ce89d9d29bb4da6d0959cbf938fa5aff662fbe (diff)
downloadgcc-e28f683e43459b30572ab442010230be9259a070.tar.gz
* gcc.dg/pr34351.c: Compile for x86 targets only. Use %ebx register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132738 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/pr34351.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 86297fbbee3..e9034ed5201 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-02-28 Uros Bizjak <ubizjak@gmail.com>
+
+ * gcc.dg/pr34351.c: Compile for x86 targets only. Use %ebx register.
+
2008-02-27 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* gfortran.dg/large_real_kind_3.F90: Reverse previous commit.
diff --git a/gcc/testsuite/gcc.dg/pr34351.c b/gcc/testsuite/gcc.dg/pr34351.c
index 90dcfa1e5f7..f407170821c 100644
--- a/gcc/testsuite/gcc.dg/pr34351.c
+++ b/gcc/testsuite/gcc.dg/pr34351.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-Wall" } */
-register int * volatile x asm ("r13"); /* { dg-warning "optimization may eliminate reads and/or writes to register variables" } */
+register int * volatile x asm ("ebx"); /* { dg-warning "optimization may eliminate reads and/or writes to register variables" } */