ref: f7bbcdf04512a97a853a07c9bdc635566f0f735a
parent: 0f2dd088e38f30bf5f32729457bb3481c0ec9f9f
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Wed Aug 6 04:48:54 EDT 2014
Fix ctype() error detection The error detection inserted in cdbda61 only works if there is no fallthrough between cases
--- a/cc1/types.c
+++ b/cc1/types.c
@@ -141,6 +141,7 @@
case LONG+LONG:
return (sign == UNSIGNED) ? ullongtype : llongtype;
}
+ break;
case FLOAT:
switch (size) {
case 0:
@@ -150,6 +151,7 @@
case LONG+LONG:
return ldoubletype;
}
+ break;
}
fputs("internal type error, aborting\n", stderr);
abort();
--
⑨