Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-04-08 Thread Richard Biener via Gcc-patches
> > Recipient:Andrew Pinski > > Cc:bin.cheng ; GCC Patches > > > > Subject:Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of > > -fstrict-enums > > > > > > On Mon, Mar 2, 2020 at 6:14 PM Andrew Pinski wrote: > > > >

Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-04-08 Thread bin.cheng via Gcc-patches
-- Sender:Richard Biener Sent At:2020 Mar. 20 (Fri.) 18:12 Recipient:bin.cheng Cc:Andrew Pinski ; GCC Patches Subject:Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums On Fri, Mar 20, 2020 at 10

Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-03-20 Thread Richard Biener via Gcc-patches
]Avoid introducing IV of enumeral type in case of > -fstrict-enums > > > On Mon, Mar 2, 2020 at 6:14 PM Andrew Pinski wrote: > > > > On Mon, Mar 2, 2020 at 1:40 AM Richard Biener > > wrote: > > > > > > On Mon, Mar 2, 2020 at 9:07 AM bin.cheng > &

Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-03-20 Thread bin.cheng via Gcc-patches
-- Sender:Richard Biener Sent At:2020 Mar. 3 (Tue.) 17:36 Recipient:Andrew Pinski Cc:bin.cheng ; GCC Patches Subject:Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums On Mon, Mar 2, 2020 at 6:14

Fwd: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-03-09 Thread Bin.Cheng
Forwarding to public list. -- Forwarded message - From: Bin.Cheng Date: Mon, Mar 9, 2020 at 5:07 PM Subject: Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums To: Richard Biener On Tue, Mar 3, 2020 at 5:36 PM Richard Biener wrote: > >

Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-03-03 Thread Richard Biener
On Mon, Mar 2, 2020 at 6:14 PM Andrew Pinski wrote: > > On Mon, Mar 2, 2020 at 1:40 AM Richard Biener > wrote: > > > > On Mon, Mar 2, 2020 at 9:07 AM bin.cheng > > wrote: > > > > > > Hi, > > > This is a simple fix for PR93674. It adds cand carefully for enumeral > > > type iv_use in > > > cas

Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-03-02 Thread Andrew Pinski
On Mon, Mar 2, 2020 at 1:40 AM Richard Biener wrote: > > On Mon, Mar 2, 2020 at 9:07 AM bin.cheng wrote: > > > > Hi, > > This is a simple fix for PR93674. It adds cand carefully for enumeral type > > iv_use in > > case of -fstrict-enums, it also avoids computing, replacing iv_use with the > >

Re: [PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-03-02 Thread Richard Biener
On Mon, Mar 2, 2020 at 9:07 AM bin.cheng wrote: > > Hi, > This is a simple fix for PR93674. It adds cand carefully for enumeral type > iv_use in > case of -fstrict-enums, it also avoids computing, replacing iv_use with the > candidate > so that no IV of enumeral type is introduced with -fstrict

[PATCH PR93674]Avoid introducing IV of enumeral type in case of -fstrict-enums

2020-03-02 Thread bin.cheng
Hi, This is a simple fix for PR93674. It adds cand carefully for enumeral type iv_use in case of -fstrict-enums, it also avoids computing, replacing iv_use with the candidate so that no IV of enumeral type is introduced with -fstrict-enums option. Testcase is also added. Bootstrap and test on