Re: [PATCH] genmatch: Avoid unused parameter warnings in generated code.

2020-08-03 Thread Richard Biener via Gcc-patches
On Sat, Aug 1, 2020 at 8:46 PM Roger Sayle wrote: > > > This patch silences a number of unused parameter warnings whilst > compiling both generic-match.c and gimple-match.c. The problem is > that multiple (polymorphic) functions are generated for generic_simplify > and gimple_simplify, each handl

[PATCH] genmatch: Avoid unused parameter warnings in generated code.

2020-08-01 Thread Roger Sayle
This patch silences a number of unused parameter warnings whilst compiling both generic-match.c and gimple-match.c. The problem is that multiple (polymorphic) functions are generated for generic_simplify and gimple_simplify, each handling tree codes with a specific number of children. Currently,