commit 285d54fa5709638cd975b5fcfc6a54bed54b9abc
Author: Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Aug 14 17:55:34 2015 +0200
Commit: Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Aug 14 17:55:34 2015 +0200
Add VOID to eqtype()
Void is also a type implied in castings.
diff --git a/cc1/types.c b/cc1/types.c
index d2d9740..5957274 100644
--- a/cc1/types.c
+++ b/cc1/types.c
@@ -354,6 +354,7 @@ eqtype(Type *tp1, Type *tp2)
return 0;
}
return 1;
+ case VOID:
case ENUM:
return 0;
case INT: