Re: [PATCH][Backport][GCC13] match.pd: Only merge truncation with conversion for -fno-signed-zeros

2024-04-30 Thread Richard Biener
On Mon, Apr 29, 2024 at 5:12 PM Joe Ramsay wrote: > > This optimisation does not honour signed zeros, so should not be > enabled except with -fno-signed-zeros. > > Cherry-pick of 7dd3b2b09cbeb6712ec680a0445cb0ad41070423. > > Applies cleanly on releases/gcc-13, regression-tested with no new >

[PATCH][Backport][GCC13] match.pd: Only merge truncation with conversion for -fno-signed-zeros

2024-04-29 Thread Joe Ramsay
This optimisation does not honour signed zeros, so should not be enabled except with -fno-signed-zeros. Cherry-pick of 7dd3b2b09cbeb6712ec680a0445cb0ad41070423. Applies cleanly on releases/gcc-13, regression-tested with no new failures. OK for backport to GCC 13? If so, please commit for me as