1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fnon-call-exceptions -fdump-tree-optimized" } */
6 void foo (int) { printf ("Bar\n"); }
11 int a = 1 / 0; // { dg-warning "division by zero" }
16 // The expression 1 / 0 should not be propagated into the call to foo() if it
18 // { dg-final { scan-tree-dump-times "foo \\(1 \\/ 0\\)" 0 "optimized" } }