> The following adds no_icf handling for variables where the attribute
> was rejected.  It also fixes the check for no_icf by checking both
> the source and the targets decl.
> 
> Bootstrap / regtest running on x86_64-unknown-linux-gnu.
> 
> This would solve the AVR issue with merging of "progmem" attributed
> and non-"progmem" attributed variables if they'd also add no_icf there.
> 
> OK?
> 
> Thanks,
> Richard.
> 
>       PR ipa/92606
> gcc/c-family/
>       * c-attribs.cc (handle_noicf_attribute): Also allow the
>       attribute on global variables.
> 
> gcc/
>       * ipa-icf.cc (sem_item_optimizer::merge_classes): Check
>       both source and alias for the no_icf attribute.
>       * doc/extend.texi (no_icf): Document variable attribute.
OK,
thanks!
Honza

Reply via email to