From 6c99dcb51f55b0599203b8086f5c5d2f816f267b Mon Sep 17 00:00:00 2001 From: Prathamesh Kulkarni Date: Thu, 17 Nov 2016 09:48:34 +0000 Subject: [PATCH] re PR tree-optimization/78319 (PASS->FAIL: gcc.dg/uninit-pred-8_a.c bogus warning (test for bogus messages, line 20)) 2016-11-17 Prathamesh Kulkarni PR tree-optimization/78319 testsuite/ * gcc.dg/uninit-pred-8_a.c (foo): Mark dg-bogus test to xfail on arm-none-eabi. From-SVN: r242540 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/uninit-pred-8_a.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9545d9cce79..7928a49186b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-11-17 Prathamesh Kulkarni + + PR tree-optimization/78319 + * gcc.dg/uninit-pred-8_a.c (foo): Mark dg-bogus test to xfail on + arm-none-eabi. + 2016-11-17 Richard Biener PR tree-optimization/78306 diff --git a/gcc/testsuite/gcc.dg/uninit-pred-8_a.c b/gcc/testsuite/gcc.dg/uninit-pred-8_a.c index 1b7c472420c..c45fba0bc45 100644 --- a/gcc/testsuite/gcc.dg/uninit-pred-8_a.c +++ b/gcc/testsuite/gcc.dg/uninit-pred-8_a.c @@ -16,8 +16,9 @@ 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" } */ + blah(v); /* { dg-bogus "uninitialized" "bogus warning" { xfail arm-none-eabi } } */ if ( n ) blah(v); /* { dg-bogus "uninitialized" "bogus warning" } */ -- 2.30.2