OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/simulate-thread/simulate-thread.gdb: Call
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr49000.c
1
/* PR tree-optimization/49000 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g" } */
4
5
static
6
foo (int x, int y)
7
{
8
return x * y;
9
}
10
11
static int
12
bar (int *z)
13
{
14
return *z;
15
}
16
17
void
18
baz (void)
19
{
20
int a = 42;
21
int *b = &a;
22
foo (bar (&a), 3);
23
}
24
25
void
26
test (void)
27
{
28
baz ();
29
}