mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:00:52 +08:00
({un,}signed_type): If can't do anything, call
signed_or_unsigned_type. From-SVN: r13051
This commit is contained in:
parent
555d459c79
commit
f63f07520b
@ -735,7 +735,8 @@ unsigned_type (type)
|
||||
return unsigned_intHI_type_node;
|
||||
if (type1 == intQI_type_node)
|
||||
return unsigned_intQI_type_node;
|
||||
return type;
|
||||
|
||||
return signed_or_unsigned_type (1, type);
|
||||
}
|
||||
|
||||
/* Return a signed type the same as TYPE in other respects. */
|
||||
@ -763,7 +764,8 @@ signed_type (type)
|
||||
return intHI_type_node;
|
||||
if (type1 == unsigned_intQI_type_node)
|
||||
return intQI_type_node;
|
||||
return type;
|
||||
|
||||
return signed_or_unsigned_type (0, type);
|
||||
}
|
||||
|
||||
/* Return a type the same as TYPE except unsigned or
|
||||
|
Loading…
x
Reference in New Issue
Block a user