Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr56098-1.c
blob: 68e71fc0b98e5a83e56378b4943dc248944c1804 [
file
] [
log
] [
blame
]
/* PR tree-optimization/56098 */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
volatile
int
*
p
;
void
foo
(
int
x
)
{
*
p
=
1
;
if
(
x
)
*
p
=
2
;
}
/* { dg-final { scan-tree-dump-not "=\[^\n\r]*\\*p" "optimized" } } */