Hi,

On Mon Nov 16, 2026 at 10:33 AM CET, Jan Hubicka wrote:
> Hi,
> this patch extends ipa-cp to prpagate nvariant base addresses when
> offset is unknown. It is last bigger piece needed for cppcheck. Large
> patch is quite mechanical. We basically need to add
> IPA_JF_CONST_UNKNOWN_OFFSET (or alternatively add flag to the exisitng
> const function, but we would need to check the flag in basically all
> uses), extend agg files and jump function by uknown offsets and do the
> checking.
>
> Bootstrapped/regtested x86_64-linux.  Martin, I wonder if you have ideas
> for improvmeents on this.
>
> Honza
>
> gcc/ChangeLog:
>
>       * ipa-prop.h (enum jump_func_type): Add IPA_JF_CONST_UNKNOWN_OFFSET.

I am of course not a reviewer, but can we please get an update to the
comment at the top of ipa-prop.h, to keep the docs up to date and to
possibly illustrate the use case a little better?  Thanks :)

Best regards,
Josef

Reply via email to