OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Do not FAIL in miscompiled runtime tests.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
builtin-unreachable-4.c
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
}