]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix FAIL: gcc.dg/tree-ssa/minmax-2.c scan-tree-dump optimized "__builtin_fmin"
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 26 Apr 2016 12:17:39 +0000 (12:17 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 26 Apr 2016 12:17:39 +0000 (12:17 +0000)
* gcc.dg/tree-ssa/minmax-2.c: Require c99_runtime and add the
associated options.

From-SVN: r235440

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/minmax-2.c

index de57f567c2016da1704518207e2413479a4da773..2dd61f113842fd3f7f4193033a1058a5856311af 100644 (file)
@@ -1,3 +1,8 @@
+2016-04-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * gcc.dg/tree-ssa/minmax-2.c: Require c99_runtime and add the
+       associated options.
+
 2016-04-26  Marek Polacek  <polacek@redhat.com>
 
        PR c++/70744
index 98c38b1aa773d04a5d7cb36df73db8924d83ed65..87ff94cef1f3b178b315358f246c9a3f32383945 100644 (file)
@@ -1,5 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O -fstrict-overflow -fdump-tree-optimized" } */
+/* { dg-add-options c99_runtime } */
+/* { dg-require-effective-target c99_runtime } */
 
 static int max(int a,int b){return (a<b)?b:a;}
 int f(int x,int y){return max(-x,-y);}