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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gfortran.dg
/
lrshift_1.c
blob
8b451107b01022f476f0b385affbaf7218470a98
1
/* Left and right shift C routines, to compare to Fortran results. */
2
int
c_lshift_
(
int
*
x
,
int
*
y
) {
return
(*
x
) << (*
y
); }
3
int
c_rshift_
(
int
*
x
,
int
*
y
) {
return
(*
x
) >> (*
y
); }