On Wed, May 2, 2018 at 3:05 PM, Jim Wilson <j...@sifive.com> wrote: > This improves the code for a switch statement on targets that sign-extend > function arguments, such as RISC-V. Given a simple testcase > ... > gcc/ > * expr.c (do_tablejump): When converting index to Pmode, if we have a > sign extended promoted subreg, and the range does not have the sign > bit > set, then do a sign extend.
Ping. Jim