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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr71528.C
blob
bfe062204726b1afa9a3736f9a0061573ebd67b1
1
// PR c++/71528
2
// { dg-do run }
3
// { dg-options "-O2" }
4
5
extern int &x;
6
int y;
7
8
int &
9
foo ()
10
{
11
return y;
12
}
13
14
int &x = foo ();
15
16
int
17
main ()
18
{
19
if (&x != &y)
20
__builtin_abort ();
21
}
22
23
extern int &x;