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
2008-03-21 Janne Blomqvist <jb@gcc.gnu.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20050811-2.c
blob
ffd1f390498bb3bc57d59921694dc8f19913962d
1
/* Test whether -dov doesn't crash. */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -dv -fdump-rtl-postreload" } */
4
5
int
foo
(
void
)
6
{
7
return
6
;
8
}
9
10
int
bar
(
int
x
)
11
{
12
if
(
x
<
0
)
13
return
foo
() +
8
;
14
else if
(
x
>
0
)
15
return
2
*
foo
();
16
else
17
return
foo
();
18
}
19
20
// { dg-final { cleanup-rtl-dump "postreload*" } }