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-6.c
blob
42950668cbb5b9ecdb380f69d1818a3e43bcf758
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
3
4
5
int
bar
(
int
);
6
void
baz
(
int
);
7
void
bla
(
int
);
8
9
void
10
foo
(
int
y
)
11
{
12
int
a
;
13
if
(
y
==
6
)
14
{
15
bla
(
5
);
16
a
=
bar
(
7
);
17
}
18
else
19
{
20
bla
(
5
);
21
a
=
bar
(
7
);
22
}
23
baz
(
a
);
24
}
25
26
/* { dg-final { scan-tree-dump-times "bar \\(" 1 "pre"} } */