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
Be careful about comdat boundary in ICF (PR ipa/82352).
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr26179.C
blob
32cd7a00ea9dca7575cf59049e8033072c211761
1
/* The problem here is that Load PRE on the tree level
2
forgot to handle RETURN_DECL which causes us to ICE. */
3
4
// { dg-do compile }
5
// { dg-options "-O2" }
6
7
struct a
8
{
9
int i;
10
};
11
void h(struct a&);
12
void l(void);
13
14
struct a g(void)
15
{
16
struct a fl;
17
h(fl);
18
if (fl.i)
19
l();
20
fl.i+=2;
21
return fl;
22
}