Re: [PATCH] Use more switch statements.

2019-09-24 Thread Richard Biener
On Tue, Sep 24, 2019 at 12:15 PM Martin Liška wrote: > > Hi. > > The patch is about a refactoring where we should use > more switch statements rather that if-elseif-elseif > chains. > > I've been testing the patch. > Ready to be installed after tests? OK. Richard. > Martin > > gcc/ChangeLog: >

[PATCH] Use more switch statements.

2019-09-24 Thread Martin Liška
Hi. The patch is about a refactoring where we should use more switch statements rather that if-elseif-elseif chains. I've been testing the patch. Ready to be installed after tests? Martin gcc/ChangeLog: 2019-09-24 Martin Liska * cfgexpand.c (gimple_assign_rhs_to_tree): Use switch st