From 27282dadbfc2c0a23ca3a2c285b9a71e0e5376d8 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Thu, 12 Jan 2017 17:02:38 +0000 Subject: [PATCH] Add Cortex-A15 tuning to gcc.dg/uninit-pred-8_a.c PR tree-optimization/78319 * gcc.dg/uninit-pred-8_a.c: Add -mtune=cortex-a15 for arm. Remove xfail. From-SVN: r244372 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/uninit-pred-8_a.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1de9520887d..ba357ffb04a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-01-12 Kyrylo Tkachov + + PR tree-optimization/78319 + * gcc.dg/uninit-pred-8_a.c: Add -mtune=cortex-a15 for arm. + Remove xfail. + 2017-01-12 Bill Schmidt PR target/79044 diff --git a/gcc/testsuite/gcc.dg/uninit-pred-8_a.c b/gcc/testsuite/gcc.dg/uninit-pred-8_a.c index c45fba0bc45..c4cdf48598e 100644 --- a/gcc/testsuite/gcc.dg/uninit-pred-8_a.c +++ b/gcc/testsuite/gcc.dg/uninit-pred-8_a.c @@ -1,6 +1,8 @@ /* { dg-do compile } */ /* { dg-options "-Wuninitialized -O2" } */ +/* Pick a particular tuning to pin down BRANCH_COST. */ +/* { dg-additional-options "-mtune=cortex-a15" { target arm*-*-* } } */ int g; void bar(); @@ -16,9 +18,8 @@ int foo (int n, int l, int m, int r) if (m) g++; else bar(); - /* marking this test as xfail on arm-none-eabi, see PR78319. */ if ( n || m || r || l) - blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail arm-none-eabi } } */ + blah(v); /* { dg-bogus "uninitialized" "bogus warning" } */ if ( n ) blah(v); /* { dg-bogus "uninitialized" "bogus warning" } */ -- 2.30.2