This is the mail archive of the gcc@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: Is store_expr(e,t,v!=m) safe?


> On Sun, Apr 06, 2003 at 06:53:29PM +0200, Steven Bosscher wrote:
> > Honza digged up a patch by Zdenek for this PR.  I have attached this
> > information to the PR audit trail.
> > http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01655.html
> 
> But, as Zdenek mentions, this patch probably only masks the problem.
> I'll look into this today.

I think it does not mask it.  The problem is that a[0]=x is converted
into load+logicals+store of the whole "a" that fits in DImode that
doesn't hurt as long as we don't decide to spit "a" into constant memory
area.  Avoid purge_addressof from doing the (pessimizing) transfromation
and later changing the mind is the right way to go IMO.

Honza
> 
> 
> r~


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