This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] IPA ICF: add no_icf attribute for a function


> >gcc/c-family/ChangeLog:
> >
> >2015-01-16  Martin Liska<mliska@suse.cz>
> >
> >	* c-common.c (handle_noicf_attribute): New function.
> >
> >gcc/ChangeLog:
> >
> >2015-01-16  Martin Liska<mliska@suse.cz>
> >
> >	* doc/extend.texi (no_icf): Add new attribute description.
> >	* ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
> >	where the pass attempts to merge a function with no_icf attribute.
> >
> >gcc/testsuite/ChangeLog:
> >
> >2015-01-16  Martin Liska<mliska@suse.cz>
> >
> >	* gcc.dg/ipa/ipa-icf-33.c: New test.
> OK.
I think you want to check at same places opt_for_fn (fndecl, flag_icf) too
to support optimization attribute and LTO merging.

Honza
> jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]