diff options
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index c6c2620ab11..97705a2926a 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -349,26 +349,20 @@ convert_to_integer (tree type, tree expr) switch (fcode) { - case BUILT_IN_CEILF: - case BUILT_IN_CEILL: + case BUILT_IN_CEIL: case BUILT_IN_CEILF: case BUILT_IN_CEILL: /* Only convert in ISO C99 mode. */ if (!TARGET_C99_FUNCTIONS) break; - /* ... Fall through ... */ - case BUILT_IN_CEIL: if (TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (long_long_integer_type_node)) fn = mathfn_built_in (s_intype, BUILT_IN_LLCEIL); else fn = mathfn_built_in (s_intype, BUILT_IN_LCEIL); break; - case BUILT_IN_FLOORF: - case BUILT_IN_FLOORL: + case BUILT_IN_FLOOR: case BUILT_IN_FLOORF: case BUILT_IN_FLOORL: /* Only convert in ISO C99 mode. */ if (!TARGET_C99_FUNCTIONS) break; - /* ... Fall through ... */ - case BUILT_IN_FLOOR: if (TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (long_long_integer_type_node)) fn = mathfn_built_in (s_intype, BUILT_IN_LLFLOOR); else |