scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit b141af6efba350a99963ab4db6dc2204a4e92b56
parent f4cc6f2eedec3ed0ae4b953aa6f5babda61a671e
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 21 Feb 2017 20:36:19 +0100

[cc1] Fix cast between pointers and ints

A missing break was causing that casts between pointers and integers
was forbidden.

Diffstat:
Mcc1/expr.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/cc1/expr.c b/cc1/expr.c @@ -279,6 +279,7 @@ convert(Node *np, Type *newtp, char iscast) default: return NULL; } + break; default: return NULL; }