Re: [PR 83141] Prevent SRA from removing type changing assignment

2018-07-31 Thread H.J. Lu
On Tue, Dec 5, 2017 at 4:00 AM, Martin Jambor wrote: > On Tue, Dec 05 2017, Martin Jambor wrote: >> On Tue, Dec 05 2017, Martin Jambor wrote: >> Hi, >> >>> Hi, >>> >>> this is a followup to Richi's >>> https://gcc.gnu.org/ml/gcc-patches/2017-11/msg02396.html to fix PR >>> 83141. The basic idea

Re: [PR 83141] Prevent SRA from removing type changing assignment

2017-12-07 Thread Richard Biener
On Thu, 7 Dec 2017, Martin Jambor wrote: > Hi, > > On Wed, Dec 06 2017, Richard Biener wrote: > > On Wed, 6 Dec 2017, Martin Jambor wrote: > > >> ... > > >> Second is the testcase I described in my previous email. When I saw > >> > >> FAIL: gcc.dg/guality/pr54970.c -O1 line 31 a[0] == 4

Re: [PR 83141] Prevent SRA from removing type changing assignment (fwd)

2017-12-06 Thread Richard Biener
Now also to the list... -- Forwarded message -- Date: Wed, 6 Dec 2017 14:48:00 +0100 (CET) From: Richard Biener <rguent...@suse.de> To: Martin Jambor <mjam...@suse.cz> Subject: Re: [PR 83141] Prevent SRA from removing type changing assignment On Wed, 6 Dec 2017, M

Re: [PR 83141] Prevent SRA from removing type changing assignment

2017-12-06 Thread Martin Jambor
Hi, On Tue, Dec 05 2017, Richard Biener wrote: > On Tue, 5 Dec 2017, Martin Jambor wrote: > >> On Tue, Dec 05 2017, Martin Jambor wrote: >> > On Tue, Dec 05 2017, Martin Jambor wrote: >> > Hi, >> > >> >> Hi, >> >> >> >> this is a followup to Richi's >> >>

Re: [PR 83141] Prevent SRA from removing type changing assignment

2017-12-05 Thread Richard Biener
On Tue, 5 Dec 2017, Martin Jambor wrote: > On Tue, Dec 05 2017, Martin Jambor wrote: > > On Tue, Dec 05 2017, Martin Jambor wrote: > > Hi, > > > >> Hi, > >> > >> this is a followup to Richi's > >> https://gcc.gnu.org/ml/gcc-patches/2017-11/msg02396.html to fix PR > >> 83141. The basic idea is

Re: [PR 83141] Prevent SRA from removing type changing assignment

2017-12-05 Thread Martin Jambor
On Tue, Dec 05 2017, Martin Jambor wrote: > On Tue, Dec 05 2017, Martin Jambor wrote: > Hi, > >> Hi, >> >> this is a followup to Richi's >> https://gcc.gnu.org/ml/gcc-patches/2017-11/msg02396.html to fix PR >> 83141. The basic idea is simple, be just as conservative about type >> changing

Re: [PR 83141] Prevent SRA from removing type changing assignment

2017-12-04 Thread Martin Jambor
On Tue, Dec 05 2017, Martin Jambor wrote: Hi, > Hi, > > this is a followup to Richi's > https://gcc.gnu.org/ml/gcc-patches/2017-11/msg02396.html to fix PR > 83141. The basic idea is simple, be just as conservative about type > changing MEM_REFs as we are about actual VCEs. > > I have checked how

[PR 83141] Prevent SRA from removing type changing assignment

2017-12-04 Thread Martin Jambor
Hi, this is a followup to Richi's https://gcc.gnu.org/ml/gcc-patches/2017-11/msg02396.html to fix PR 83141. The basic idea is simple, be just as conservative about type changing MEM_REFs as we are about actual VCEs. I have checked how that would affect compilation of SPEC 2006 and (non LTO)