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
This commit is contained in:
Kyrylo Tkachov 2017-01-12 17:02:38 +00:00 committed by Kyrylo Tkachov
parent 2da3add55b
commit 27282dadbf
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2017-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR tree-optimization/78319
* gcc.dg/uninit-pred-8_a.c: Add -mtune=cortex-a15 for arm.
Remove xfail.
2017-01-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/79044

View File

@ -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" } */