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
builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr52578.c
blob
47a0484836b4ebc63c0fec0e4b1e72deab031088
1
/* { dg-do compile } */
2
/* { dg-options "-fdump-tree-original" } */
3
4
long
bar
(
long
i
)
5
{
6
return
(
long
)((
unsigned long
)
i
+
2
) - (
long
)
i
;
7
}
8
long
foo
(
int
i
)
9
{
10
return
(
long
)((
unsigned long
)
i
+
2
) - (
long
)
i
;
11
}
12
13
/* { dg-final { scan-tree-dump-times "return 2;" 2 "original" } } */