OSDN Git Service

* gcc.dg/tree-ssa/fre-vce-1.c: Cleanup "fre" tree dump.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / multiple-overflow-warn-1.c
1 /* PR c/19978 : Test for duplicated warnings (unary operators).  */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c99 -Woverflow" } */
4
5 #include <limits.h>
6
7 int 
8 g (void)
9 {
10   return - - - - -INT_MIN; /* { dg-bogus "integer overflow in expression.*integer overflow in expression" } */
11   /* { dg-warning "integer overflow in expression" "" { target *-*-* } 10 } */
12 }
13