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
PR c++/43680
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wstrict-aliasing-5.C
1
/* { dg-do compile } */
2
/* { dg-options "-Wstrict-aliasing=2 -O2" } */
3
4
float foo ()
5
{
6
unsigned int MASK = 0x80000000;
7
return (float &) MASK; /* { dg-warning "strict-aliasing" } */
8
}
9