Re: Disable tbaa for some call to call_may_clobber_ref_p

2020-10-08 Thread Richard Biener
On Thu, 8 Oct 2020, Jan Hubicka wrote: > Hi, > as discussed on IRC, I am testing the attached patch to disable TBAA for > some uses of call_may_clobber_ref_p. > > OK if testing passes? OK. Thanks, Richard. > Honza > > gcc/ChangeLog: > > 2020-10-08 Jan Hubicka > > * tree-nrv.c (dest

Disable tbaa for some call to call_may_clobber_ref_p

2020-10-08 Thread Jan Hubicka
Hi, as discussed on IRC, I am testing the attached patch to disable TBAA for some uses of call_may_clobber_ref_p. OK if testing passes? Honza gcc/ChangeLog: 2020-10-08 Jan Hubicka * tree-nrv.c (dest_safe_for_nrv_p): Disable tbaa in call_may_clobber_ref_p and ref_maybe_used_