From cadf629619dfee9144db937f48b76599df205b99 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 29 Sep 2016 08:39:04 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/profile-update-warning.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f3ab8e8bc38..6acd1fc255f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-09-29 Rainer Orth + + * gcc.dg/profile-update-warning.c: Restrict to ia32. + (dg-options): Remove -m32. + 2016-09-28 Uros Bizjak PR target/77756 diff --git a/gcc/testsuite/gcc.dg/profile-update-warning.c b/gcc/testsuite/gcc.dg/profile-update-warning.c index 0614fad960f..63074e383f1 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[]) { -- 2.30.2