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