gcc/libgfortran/intrinsics
Tobias Schlüter 56746a0745 trans-intrinsic.c (gfc_conv_intrinsic_ishft): Change to logicalshift.
gcc/fortran/
* trans-intrinsic.c (gfc_conv_intrinsic_ishft): Change to
logicalshift.  Call fold.  Remove 0-bit shift shortcut.
(gfc_conv_intrinsic_ishftc): Convert first argument to at least
4 bytes bits.  Convert 2nd and 3rd argument to 4 bytes.  Convert
result if width(arg 1) < 4 bytes.  Call fold.

libgfortran/
* libgfortran/libgfortran.h (GFC_UINTEGER_1, GFC_UINTEGER_2):
Define.
* intrinsics/ishftc.c: Update copyright years.
(ishftc8): Change 'shift' and 'size' to GFC_INTEGER_4.
* intrinsics/mvbits.c: Correcty non-ASCII character in my name.
Add implementations for GFC_INTEGER_1 and GFC_INTEGER_2.

gcc/testsuite/
* gfortran.dg/g77/f90-intrinsic-bit.f: New.

From-SVN: r92642
2004-12-27 17:43:25 +01:00
..
abort.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
args.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
associated.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
bessel.c bessel.c: New file. 2004-08-29 16:31:16 +00:00
c99_functions.c configure.ac: Check for ieeefp.h. 2004-12-07 23:43:40 +00:00
cpu_time.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
cshift0.c re PR libfortran/18966 (cshift etc. not implemented for kind=1 and kind=2 actual arguments) 2004-12-14 10:43:36 +00:00
date_and_time.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
dprod_r8.f90
env.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
eoshift0.c re PR libfortran/18966 (cshift etc. not implemented for kind=1 and kind=2 actual arguments) 2004-12-14 10:43:36 +00:00
eoshift2.c re PR libfortran/18966 (cshift etc. not implemented for kind=1 and kind=2 actual arguments) 2004-12-14 10:43:36 +00:00
erf.c bessel.c: New file. 2004-08-29 16:31:16 +00:00
etime.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
exit.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
flush.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
fnum.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
getcwd.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
getXid.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
ishftc.c trans-intrinsic.c (gfc_conv_intrinsic_ishft): Change to logicalshift. 2004-12-27 17:43:25 +01:00
mvbits.c trans-intrinsic.c (gfc_conv_intrinsic_ishft): Change to logicalshift. 2004-12-27 17:43:25 +01:00
pack_generic.c iresolve.c (gfc_resolve_all, [...]): Use PREFIX. 2004-12-12 18:47:58 -08:00
rand.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
random.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
reshape_generic.c iresolve.c (gfc_resolve_all, [...]): Use PREFIX. 2004-12-12 18:47:58 -08:00
reshape_packed.c
selected_int_kind.f90 Makefile.am (gfor_helper_src): Split selected_kind.f90. 2004-08-30 14:34:37 -07:00
selected_real_kind.f90 Makefile.am (gfor_helper_src): Split selected_kind.f90. 2004-08-30 14:34:37 -07:00
size.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
spread_generic.c iresolve.c (gfc_resolve_all, [...]): Use PREFIX. 2004-12-12 18:47:58 -08:00
stat.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
string_intrinsics.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
system_clock.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
system.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
transpose_generic.c iresolve.c (gfc_resolve_all, [...]): Use PREFIX. 2004-12-12 18:47:58 -08:00
umask.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
unlink.c acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
unpack_generic.c iresolve.c (gfc_resolve_all, [...]): Use PREFIX. 2004-12-12 18:47:58 -08:00