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
PR rtl-optimization/45107
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr45107.c
1
/* PR rtl-optimization/45107 */
2
/* { dg-do compile } */
3
/* { dg-options "-Os -fgcse-las" } */
4
5
extern void bar(int *);
6
7
int foo (int *p)
8
{
9
int i = *p;
10
if (i != 1)
11
bar(&i);
12
*p = i;
13
}