On Thu, 25 Nov 2021, Jan Hubicka wrote:
> Hi,
> this pach removes gimple_call_cahin checkin ref_maybe_used_by_call_p that
> disables check for CONST functions. I suppose it was meant to allow consts
> to read variables from the static chain but this is not what other places
> do. The testcase:
>
Hi,
this pach removes gimple_call_cahin checkin ref_maybe_used_by_call_p that
disables check for CONST functions. I suppose it was meant to allow consts
to read variables from the static chain but this is not what other places
do. The testcase:
int
main()
{
int a =0;
__attribute_