Re: [middle-end PATCH] PR c/106264: Silence warnings from __builtin_modf et al.

2022-07-17 Thread Richard Biener via Gcc-patches
On Sat, Jul 16, 2022 at 2:54 PM Roger Sayle wrote: > > > This middle-end patch resolves PR c/106264 which is a spurious warning > regression caused by the tree-level expansion of modf, frexp and remquo > producing "expression has no-effect" when the built-in function's result > is ignored. When t

[middle-end PATCH] PR c/106264: Silence warnings from __builtin_modf et al.

2022-07-16 Thread Roger Sayle
This middle-end patch resolves PR c/106264 which is a spurious warning regression caused by the tree-level expansion of modf, frexp and remquo producing "expression has no-effect" when the built-in function's result is ignored. When these built-ins were first expanded at tree-level, fold_builtin_