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-2.c
blob
f16289355893fb6cfd9afab848ff71dff5e6bf24
1
/* { dg-do compile } */
2
/* { dg-options "-O -fdump-tree-cddce1" } */
3
4
__SIZE_TYPE__
5
fx
(
char
*
a
,
__SIZE_TYPE__ sz
)
6
{
7
char
*
b
=
a
+
sz
;
8
/* The first forwprop pass should optimize this to return sz; */
9
return
b
-
a
;
10
}
11
12
/* { dg-final { scan-tree-dump "return sz" "cddce1" } } */