]>
Commit | Line | Data |
---|---|---|
ba21aba3 DD |
1 | /* Check that this valid code doesn't ICE. */ |
2 | /* { dg-do compile } */ | |
3 | /* { dg-options "-O2" } */ | |
4 | void | |
5 | g (int a, int b, int c, int d) | |
6 | { | |
7 | if (d) | |
8 | { | |
9 | ((void) | |
10 | (!(a && b && c) ? __builtin_unreachable (), 0 : 0)); | |
11 | } | |
12 | ((void) | |
13 | (!(a && b && c) ? __builtin_unreachable (), 0 : 0)); | |
14 | } |