shithub: scc

Download patch

ref: 321503bfb9a99efe5eea4a9a2ee5c795aa7274ac
parent: 4b0f334f7eca8920c3b91ba1ab68d0ebaec0cce0
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Sep 28 08:34:53 EDT 2016

[cc1] Simplify expression in types.c

--- a/cc1/types.c
+++ b/cc1/types.c
@@ -214,7 +214,7 @@
 				size += aux->size;
 				offset = size;
 			} else {
-				if ((*sp)->type->size > size)
+				if (aux->size > size)
 					size = aux->size;
 			}
 		}