https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112525
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-11-14 --- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- I wonder if optimizing for "unused" parameters is worth it (usually IPA SRA will elide them). "unused" could be computed by cfgexpand walking the body, but we do expect to be able to inspect those parameters with -g, so care has to be taken that this works at all optimization levels.