* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / Werror-5.c
blob39125904dfa0fe388e505e08e23282af47a4be05
1 /* { dg-do compile } */
2 /* { dg-options "-Walways-true -Wattributes -Werror" } */
3 /* { dg-warning "warnings being treated as errors" "" {target "*-*-*"} 0 } */
5 /* Make sure -Werror turns warnings in to errors. */
7 void __attribute__((dj)) bar() { } /* { dg-warning "warning: .* attribute directive ignored" } */
9 int i;
11 void
12 foo ()
14 if (&i) /* { dg-warning "warning: .* will always evaluate as 'true'" } */
15 grill ();