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
/
pr51879-4.c
blob
82a986b54558a67063b3fdb398998fc14ef9b9a0
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
3
4
int
bar
(
int
);
5
void
baz
(
int
);
6
7
int
foo
(
int
y
)
8
{
9
int
a
,
b
;
10
a
=
bar
(
7
) +
6
;
11
b
=
bar
(
7
) +
6
;
12
return
a
+
b
;
13
}
14
15
/* { dg-final { scan-tree-dump-times "bar \\(" 2 "pre"} } */