http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56988
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code CC| |jamborm at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-18 08:09:09 UTC --- I think that IPA-CP fails to see that the PARAM in the callee is addressable and thus the load loads the _parameter_ and not indirectly _from_ the parameter. No? So checking types looks wrong, checking whether a load is actually just loading the pointer parameter itself is appropriate (possibly just not handling address-taken parameters in callees).