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
Fix attrib-5.c test-case.
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
ubsan
/
attrib-5.c
blob
209b5dd7d2b96fcd02b9ea60f933f39284cdf866
1
/* { dg-do compile } */
2
/* { dg-options "-fsanitize=undefined" } */
3
4
__attribute__
((
no_sanitize
(
"foobar"
)))
5
static void
6
float_cast2
(
void
) {
/* { dg-warning "attribute directive ignored" } */
7
volatile
double
d
=
300
;
8
volatile
signed char
c
;
9
c
=
d
;
10
}