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
* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr51879.c
blob
d295373331db2594ae9501b85218c897c266837b
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
void
8
foo
(
int
y
)
9
{
10
int
a
;
11
if
(
y
==
6
)
12
a
=
bar
(
7
);
13
else
14
a
=
bar
(
7
);
15
baz
(
a
);
16
}
17
18
/* { dg-final { scan-tree-dump-times "bar \\(" 1 "pre"} } */