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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20070501-1.c
blob
39acd49dee452d7c411e7eefbee2513572315c81
1
typedef
signed int
signed16
__attribute__
((
__mode__
(
__HI__
)));
2
typedef
unsigned int
unsigned16
__attribute__
((
__mode__
(
__HI__
)));
3
typedef
signed16 HI
;
4
typedef
unsigned16 UHI
;
5
unsigned short
f
(
int
y
)
6
{
7
HI tmp_b4
;
8
tmp_b4
=
y
;
9
UHI opval
;
10
if
(
tmp_b4
== -
32768
)
11
opval
=
32767
;
12
else
13
opval
= -
tmp_b4
;
14
return
opval
;
15
}
16