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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
pr112706.c
blob
217730b99b24233edceaf55f1abdc232aa3e2f90
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-fre1" } */
3
4
int
*
ptr
;
5
void
link_error
();
6
void
7
test
()
8
{
9
int
*
ptr1
=
ptr
+
10
;
10
int
*
ptr2
=
ptr
+
20
;
11
if
(
ptr1
==
ptr2
)
12
link_error
();
13
}
14
15
/* { dg-final { scan-tree-dump-not "if" "fre1" } } */