From 0473f72571cd1d67867fbd248eca7ac2bbbb3158 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Tue, 12 Dec 2017 00:35:39 +0100 Subject: [PATCH] Fix the new pr83361.c testcase gcc/testsuite/ * gcc.dg/pr83361.c: Add -Wno-div-by-zero to dg-options. From-SVN: r255559 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/pr83361.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 638894159c6..ea3f83a8d28 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-12-11 Segher Boessenkool + + * gcc.dg/pr83361.c: Add -Wno-div-by-zero to dg-options. + 2017-12-11 Martin Sebor PR c/81544 diff --git a/gcc/testsuite/gcc.dg/pr83361.c b/gcc/testsuite/gcc.dg/pr83361.c index 2a6f80750e9..815b0556021 100644 --- a/gcc/testsuite/gcc.dg/pr83361.c +++ b/gcc/testsuite/gcc.dg/pr83361.c @@ -1,6 +1,6 @@ /* PR rtl-optimization/83361 */ /* { dg-do compile } */ -/* { dg-options "-O2 -freorder-blocks-and-partition" } */ +/* { dg-options "-O2 -freorder-blocks-and-partition -Wno-div-by-zero" } */ #include -- 2.30.2