commit 54bc45420f91467c32d0cf539e11fae0ba0798f9
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Jan 8 13:07:10 2016 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Jan 8 13:07:10 2016 +0100

    Add support for ENUM in getlimits()

diff --git a/cc1/types.c b/cc1/types.c
index 6620c92..2aeeded 100644
--- a/cc1/types.c
+++ b/cc1/types.c
@@ -303,6 +303,7 @@ getlimits(Type *tp)
        int ntable, ntype;
 
        switch (tp->op) {
+       case ENUM:
        case INT:
                ntable = tp->sign;
                switch (tp->size) {

Reply via email to