http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48585
--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> 2011-04-15 09:22:36 UTC --- > And indeed it does. Therefore I believe we should add it to the referenced > set > of a clone in the WPA stage...? Yes, we spoke on this some time ago - when propagating constant into function we should add reference and we also should remove references when promoting indirect call to direct to let the target to be optimized well. Honza