shithub: scc

Download patch

ref: f8e26c45b1ec94914d231b5f0b6302572349e5d6
parent: 1f654ce8692fb5e961c140b4006466508b370a2d
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Dec 12 05:54:24 EST 2016

[cc1] Small white space change

Group operators with operands to improve precedence reading.

--- a/cc1/types.c
+++ b/cc1/types.c
@@ -225,7 +225,7 @@
 		 * alignment.
 		 */
 		if (tp->op == STRUCT && align-- > 1)
-			size += size + align & ~align;
+			size += size+align & ~align;
 		tp->size = size;
 		return;
 	case ENUM:
@@ -294,7 +294,7 @@
 		abort();
 	}
 
-	t = (op ^ (uintptr_t) tp >> 3) & NR_TYPE_HASH-1;
+	t = (op ^ (uintptr_t) tp>>3) & NR_TYPE_HASH-1;
 	tbl = &typetab[t];
 	for (bp = *tbl; bp; bp = bp->next) {
 		if (eqtype(bp, &type, 0) && op != STRUCT && op != UNION) {