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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr41643.c
blob
7c0743da41a8fae17b9fe4a818bfcb5630097f5f
1
/* PR tree-optimization/41643 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fno-tree-dce" } */
4
5
struct
S
{
int
a
; };
6
7
int
8
f
(
struct
S
*
x
)
9
{
10
int
a
=
x
->
a
;
11
if
(
a
)
12
return
f
(
x
) +
a
;
13
else
14
return
f
(
x
);
15
}