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
[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr58742-3.c
blob
3c4d14596cea0c02b72a1cc30bc600cd151a5a45
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-cddce1" } */
3
4
int
*
5
fx
(
int
*
a
,
int
sz
)
6
{
7
int
*
b
=
a
+
sz
;
8
b
=
b
-
sz
;
9
/* forwprop together with FRE should optimize this to return a; */
10
return
b
;
11
}
12
13
/* { dg-final { scan-tree-dump "return a" "cddce1" } } */