On Wed, Apr 09, 2014 at 11:37:35AM +0200, Martin Jambor wrote:
> I think you should use DECL_ABSTRACT_ORIGIN instead of
> former_clone_of.  Not only you avoid using cgraph stuff here but
> unlike this patch, it also works for IPA-CP clones of IPA-SRA clones
> (yeah, I know, but I bet I can cause the same havoc by ipa-split
> instead of ipa-sra, just not as easily).

But with DECL_ABSTRACT_ORIGIN only (I guess you still mean only if
!DECL_LANG_SPECIFIC), is it always desirable to print <clone> after
the name?  I mean, DECL_ABSTRACT_ORIGIN is also set for inlines,
constructors/destructors, fnsplit etc.

        Jakub

Reply via email to