Fix the new pr83361.c testcase

Message ID d928497449ae3d3e9647f7001c876441ad6427f9.1513035106.git.segher@kernel.crashing.org
State New
Headers show
Series
  • Fix the new pr83361.c testcase
Related show

Commit Message

Segher Boessenkool Dec. 11, 2017, 11:33 p.m.
It needs the following.  Sorry for that.  Committing.


Segher


2017-12-11  Segher Boessenkool  <segher@kernel.crashing.org>

gcc/testsuite/
	* gcc.dg/pr83361.c: Add -Wno-div-by-zero to dg-options.

---
 gcc/testsuite/gcc.dg/pr83361.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.8.3.1

Patch

diff --git a/gcc/testsuite/gcc.dg/pr83361.c b/gcc/testsuite/gcc.dg/pr83361.c
index 2a6f807..815b055 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 <limits.h>