handle void properly, avoid 0-alignments, handle #if defined(..)

This commit is contained in:
ceriel
1986-12-01 10:00:23 +00:00
parent 5296d5f9e7
commit 5617c657b6
16 changed files with 187 additions and 148 deletions

View File

@@ -120,15 +120,13 @@ cstbin(expp, oper, expr)
o1 >>= o2;
break;
case '<':
if (uns) {
o1 = (o1 & mach_long_sign ?
(o2 & mach_long_sign ? o1 < o2 : 0) :
(o2 & mach_long_sign ? 1 : o1 < o2)
);
{
arith tmp = o1;
o1 = o2;
o2 = tmp;
}
else
o1 = o1 < o2;
break;
/* Fall through */
case '>':
if (uns) {
o1 = (o1 & mach_long_sign ?
@@ -140,15 +138,13 @@ cstbin(expp, oper, expr)
o1 = o1 > o2;
break;
case LESSEQ:
if (uns) {
o1 = (o1 & mach_long_sign ?
(o2 & mach_long_sign ? o1 <= o2 : 0) :
(o2 & mach_long_sign ? 1 : o1 <= o2)
);
{
arith tmp = o1;
o1 = o2;
o2 = tmp;
}
else
o1 = o1 <= o2;
break;
/* Fall through */
case GREATEREQ:
if (uns) {
o1 = (o1 & mach_long_sign ?