https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118140
--- Comment #15 from Robin Dapp <rdapp at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #14) > (In reply to Robin Dapp from comment #13) > > The #if 0 shouldn't be necessary, right? > > Correct, it is the same testcase as comment #7 except the plain char is > changed to include signed explictly, e.g. `signed char`. As I had originally > forgot to include -fsigned-char when I tested the original testcase. For me this fails even without -fsigned-char or -fwrapv on riscv.