diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-17 14:28:37 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-07-17 14:28:37 -0400 |
commit | fb695d4a371d266b283f0d1657520ad034c00ddc (patch) | |
tree | 79618d0063ed18459754d1d84c4bcc73ccfb7ef2 /gcc | |
parent | 03676390e1699e782029b0aa10593fb262ad3bcc (diff) | |
download | gcc-fb695d4a371d266b283f0d1657520ad034c00ddc.zip gcc-fb695d4a371d266b283f0d1657520ad034c00ddc.tar.gz gcc-fb695d4a371d266b283f0d1657520ad034c00ddc.tar.bz2 |
({unsigned,signed}_type): Handle intXX_type_node types.
From-SVN: r10142
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-typeck.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 8c5f2cd..4e41e5f 100644 --- a/gcc/c-typeck.c +++ b/gcc/c-typeck.c @@ -759,6 +759,14 @@ unsigned_type (type) return long_unsigned_type_node; if (type1 == long_long_integer_type_node) return long_long_unsigned_type_node; + if (type1 == intDI_type_node) + return unsigned_intDI_type_node; + if (type1 == intSI_type_node) + return unsigned_intSI_type_node; + if (type1 == intHI_type_node) + return unsigned_intHI_type_node; + if (type1 == intQI_type_node) + return unsigned_intQI_type_node; return type; } @@ -779,6 +787,14 @@ signed_type (type) return long_integer_type_node; if (type1 == long_long_unsigned_type_node) return long_long_integer_type_node; + if (type1 == unsigned_intDI_type_node) + return intDI_type_node; + if (type1 == unsigned_intSI_type_node) + return intSI_type_node; + if (type1 == unsigned_intHI_type_node) + return intHI_type_node; + if (type1 == unsigned_intQI_type_node) + return intQI_type_node; return type; } |