diff options
author | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-27 16:43:25 +0000 |
---|---|---|
committer | tobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-27 16:43:25 +0000 |
commit | 4d66f715d6193759012f4ee9168084612cf8cdf0 (patch) | |
tree | b88e393afbb9bf77f96b70a52f9243489d970d7c /libgfortran/libgfortran.h | |
parent | 96541ee595d246720eaa4ea8bba72dac843898bb (diff) | |
download | gcc-4d66f715d6193759012f4ee9168084612cf8cdf0.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92642 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index 06a68c6ef07..7ddc0ed7e93 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -189,6 +189,8 @@ typedef int8_t GFC_INTEGER_1; typedef int16_t GFC_INTEGER_2; typedef int32_t GFC_INTEGER_4; typedef int64_t GFC_INTEGER_8; +typedef uint8_t GFC_UINTEGER_1; +typedef uint16_t GFC_UINTEGER_2; typedef uint32_t GFC_UINTEGER_4; typedef uint64_t GFC_UINTEGER_8; typedef GFC_INTEGER_4 GFC_LOGICAL_4; |