repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
pr81262.C
blob
1b360de95ad60a983d0bcd5f73706c4d7a16a36a
1
// PR sanitizer/81262
2
// { dg-do compile }
3
// { dg-options "-O2 -fsanitize=unreachable" }
4
5
int
6
foo ()
7
{
8
asm goto ("" : : : : l1, l2);
9
__builtin_unreachable ();
10
l1:
11
return 1;
12
l2:
13
return 0;
14
}