https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67794
Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjambor at suse dot cz --- Comment #5 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Martin, why doesn't SRA's modify_function use tree_versioning's args_to_skip infrastructure to remap the function, including its prototype, and instead makes an (incomplete) work itself? We end up with cloned PARM_DECLs that aren't parms at all, which may confuse other parts of the compiler.