http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60404
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ebotcazou at gcc dot gnu.org, | |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think r204742 broke this. The assumption that you can coalesce all SSA_NAMEs of a particular PARM_DECL at !optimize is only true without -flto, or if the function has been compiled with -O0 before being streamed. So, the quick hack would be to change all the optimize tests in r204742 to optimize && !flag_ltrans, dunno if we have some way to query if a function has been originally compiled with -O0. That might mean we regress the param-4.c testcase at -O0 -flto, but at least we don't generate wrong code.