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
2015-05-04 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
guality
/
pr54551.c
blob
4235f78ce7313f5f21807ff0f6163317a6917b32
1
/* PR debug/54551 */
2
/* { dg-do run } */
3
/* { dg-options "-g" } */
4
5
void
__attribute__
((
__noinline__
))
6
bar
(
void
)
7
{
8
asm
volatile
(
""
);
9
}
10
11
int
__attribute__
((
__noinline__
))
12
foo
(
int
x
,
int
y
,
int
z
)
13
{
14
if
(
x
!=
z
)
15
{
16
int
a
=
z
+
1
;
17
bar
();
/* { dg-final { gdb-test 18 "a" "4" } } */
18
bar
();
/* { dg-final { gdb-test 18 "z" "3" } } */
19
}
20
return
y
;
21
}
22
23
int
24
main
()
25
{
26
foo
(
1
,
2
,
3
);
27
return
0
;
28
}