David Malcolm writes:
>> gcc/go/ChangeLog:
>> > * go-lang.c (go_langhook_type_for_mode): Remove redundant cast
>> > from result of GET_MODE_CLASS. Minor formatting fixes.
This is OK.
Thanks.
Ian
On Fri, 2016-10-07 at 15:12 -0400, David Malcolm wrote:
> Amongst many other changes, r146451 added this cast:
>
> -#define GET_MODE_CLASS(MODE) mode_class[MODE]
> +#define GET_MODE_CLASS(MODE) ((enum mode_class) mode_class[MODE])
>
> making a cast in go-lang.c redundant; remove it.
>
> Succ
Amongst many other changes, r146451 added this cast:
-#define GET_MODE_CLASS(MODE) mode_class[MODE]
+#define GET_MODE_CLASS(MODE) ((enum mode_class) mode_class[MODE])
making a cast in go-lang.c redundant; remove it.
Successfully bootstrapped®rtested on x86_64-pc-linux-gnu.
OK for trunk?
gc