many minor fixes and modifications

This commit is contained in:
ceriel
1987-03-20 08:30:31 +00:00
parent 73818f1a53
commit 4e03fc78dd
9 changed files with 43 additions and 18 deletions

View File

@@ -193,6 +193,12 @@ cut_size(expr)
int size = (int) expr->ex_type->tp_size;
ASSERT(expr->ex_class == Value);
if (expr->ex_type->tp_fund == POINTER) {
/* why warn on "ptr-3" ?
This quick hack fixes it
*/
uns = 0;
}
if (uns) {
if (o1 & ~full_mask[size])
expr_warning(expr,