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
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56098-1.c
blob
68e71fc0b98e5a83e56378b4943dc248944c1804
1
/* PR tree-optimization/56098 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -fdump-tree-optimized" } */
4
5
volatile
int
*
p
;
6
7
void
8
foo
(
int
x
)
9
{
10
*
p
=
1
;
11
if
(
x
)
12
*
p
=
2
;
13
}
14
15
/* { dg-final { scan-tree-dump-not "=\[^\n\r]*\\*p" "optimized" } } */