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
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr56098-1.c
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" } } */
16
/* { dg-final { cleanup-tree-dump "optimized" } } */