Re: [PATCH 3/3] Introduce gimple_switch and use it in various places

2014-05-08 Thread Jeff Law
On 05/02/14 15:56, David Malcolm wrote: gcc/ * gimple.h (gimple_switch): New subclass of gimple_stmt_with_ops, adding the invariant that stmt->code == GIMPLE_SWITCH. (is_a_helper ::test): New. (is_a_helper ::test): New. (gimple_try): Likewise. * co

[PATCH 3/3] Introduce gimple_switch and use it in various places

2014-05-02 Thread David Malcolm
gcc/ * gimple.h (gimple_switch): New subclass of gimple_stmt_with_ops, adding the invariant that stmt->code == GIMPLE_SWITCH. (is_a_helper ::test): New. (is_a_helper ::test): New. (gimple_try): Likewise. * coretypes.h (gimple_switch): Add forward dec