Sign in
gnu
/
gcc.git
/
09a3da82125e07da504136841d577f103aa4ea13
/
.
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr112706.c
blob: 217730b99b24233edceaf55f1abdc232aa3e2f90 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O -fdump-tree-fre1" } */
int
*
ptr
;
void
link_error
();
void
test
()
{
int
*
ptr1
=
ptr
+
10
;
int
*
ptr2
=
ptr
+
20
;
if
(
ptr1
==
ptr2
)
link_error
();
}
/* { dg-final { scan-tree-dump-not "if" "fre1" } } */