Re: [PATCH] -Warray-bounds: Fix false positive in some "switch" stmts (PR tree-optimization/83510)

2018-01-19 Thread Richard Biener
On Fri, Jan 19, 2018 at 12:36 AM, David Malcolm wrote: > PR tree-optimization/83510 reports that r255649 (for > PR tree-optimization/83312) introduced a false positive for > -Warray-bounds for array accesses within certain switch statements: > those for which value-ranges

[PATCH] -Warray-bounds: Fix false positive in some "switch" stmts (PR tree-optimization/83510)

2018-01-18 Thread David Malcolm
PR tree-optimization/83510 reports that r255649 (for PR tree-optimization/83312) introduced a false positive for -Warray-bounds for array accesses within certain switch statements: those for which value-ranges allow more than one case to be reachable, but for which one or more of the