[Bug tree-optimization/118140] [14/15 Regression] ifcvt miscompiles program at -O3 since r14-5076-g01c18f58d37 for riscv and aarch64 (with SVE)

rdapp at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 27 20:08:41 GMT 2024


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.


More information about the Gcc-bugs mailing list