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++/44157
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
inline16.C
1
// PR c++/36959
2
// We shouldn't have to emit fromSlotB just because we need shuf_BZZZ.
3
// { dg-options -O }
4
// { dg-final { scan-assembler-not "_ZL9fromSlotBv" } }
5
6
static inline int *fromSlotB(void)
7
{
8
static int shuf_BZZZ = 1;
9
return &shuf_BZZZ;
10
}
11
12
int *p;
13
14
int main(void)
15
{
16
p = fromSlotB();
17
return (*p != 1);
18
}
19