aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2016-09-29 08:39:04 +0000
committerRainer Orth <ro@gcc.gnu.org>2016-09-29 08:39:04 +0000
commitcadf629619dfee9144db937f48b76599df205b99 (patch)
tree3005001d3cb463dc2dddb496ceceea3cc05d02e4 /gcc
parent4d6484dd5891ae59bdf398406771b2e8d6fe5742 (diff)
downloadgcc-cadf629619dfee9144db937f48b76599df205b99.zip
gcc-cadf629619dfee9144db937f48b76599df205b99.tar.gz
gcc-cadf629619dfee9144db937f48b76599df205b99.tar.bz2
Fix 64-bit gcc.dg/profile-update-warning.c on 32-bit-default x86
* gcc.dg/profile-update-warning.c: Restrict to ia32. (dg-options): Remove -m32. From-SVN: r240613
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/profile-update-warning.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f3ab8e8..6acd1fc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2016-09-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/profile-update-warning.c: Restrict to ia32.
+ (dg-options): Remove -m32.
+
2016-09-28 Uros Bizjak <ubizjak@gmail.com>
PR target/77756
diff --git a/gcc/testsuite/gcc.dg/profile-update-warning.c b/gcc/testsuite/gcc.dg/profile-update-warning.c
index 0614fad..63074e3 100644
--- a/gcc/testsuite/gcc.dg/profile-update-warning.c
+++ b/gcc/testsuite/gcc.dg/profile-update-warning.c
@@ -1,5 +1,5 @@
-/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
-/* { dg-options "-fprofile-update=atomic -fprofile-generate -march=i386 -m32" } */
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
+/* { dg-options "-fprofile-update=atomic -fprofile-generate -march=i386" } */
int main(int argc, char *argv[])
{