On Thu, Mar 29, 2018 at 11:32 AM, Ian Romanick <[email protected]> wrote:
> From: Ian Romanick <[email protected]>
>
> brw_reg::type is "enum brw_reg_type type:4".  For whatever reason, GCC
> is treating this as an int instead of an enum.  As a result, it doesn't
> detect missing switch cases and it doesn't detect that flow can get out
> of the switch.

Weird. That is not what I would have expected GCC to do.

Reviewed-by: Matt Turner <[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to