1 /* PR middle-end/70992 */ 2 /* { dg-do compile } */ 3 4 unsigned int *od; 5 int fn(void)6 fn (void) 7 { 8 return (0 % 0 + 1) * *od * 2; /* { dg-warning "division by zero" } */ 9 } 10