Re: Surprising CFG construction with goto from then to else

2022-10-06 Thread Richard Biener via Gcc
On Mon, Oct 3, 2022 at 2:22 PM Jørgen Kvalsvik wrote: > > > On 9/8/22 12:30, Jørgen Kvalsvik wrote: > > On 02/09/2022 14:22, Richard Biener wrote: > >> On Fri, Sep 2, 2022 at 11:50 AM Jørgen Kvalsvik wrote: > >>> > >>> > >>> Hello, > >>> > >>> I played some more with odd programs and the effect o

Re: Surprising CFG construction with goto from then to else

2022-10-03 Thread Jørgen Kvalsvik
On 9/8/22 12:30, Jørgen Kvalsvik wrote: On 02/09/2022 14:22, Richard Biener wrote: On Fri, Sep 2, 2022 at 11:50 AM Jørgen Kvalsvik wrote: Hello, I played some more with odd programs and the effect on control flow graph construction (as a part of condition coverage support [1]) and came ac

Re: Surprising CFG construction with goto from then to else

2022-10-03 Thread Martin Liška
On 9/16/22 13:05, Jørgen Kvalsvik wrote: > Gentle ping. Any idea if the edge split is still useful and/or how to test > for it? @Honza: Can you please reply here? Thanks, Martin > > Thanks, > Jørgen > > On 08/09/2022 12:30, Jørgen Kvalsvik wrote: >> On 02/09/2022 14:22, Richard Biener wrote:

Re: Surprising CFG construction with goto from then to else

2022-09-16 Thread Jørgen Kvalsvik
Gentle ping. Any idea if the edge split is still useful and/or how to test for it? Thanks, Jørgen On 08/09/2022 12:30, Jørgen Kvalsvik wrote: On 02/09/2022 14:22, Richard Biener wrote: On Fri, Sep 2, 2022 at 11:50 AM Jørgen Kvalsvik wrote: Hello, I played some more with odd programs and

Re: Surprising CFG construction with goto from then to else

2022-09-08 Thread Jørgen Kvalsvik
On 02/09/2022 14:22, Richard Biener wrote: On Fri, Sep 2, 2022 at 11:50 AM Jørgen Kvalsvik wrote: Hello, I played some more with odd programs and the effect on control flow graph construction (as a part of condition coverage support [1]) and came across this: int fn (int a, int b, int c) {

Re: Surprising CFG construction with goto from then to else

2022-09-02 Thread Richard Biener via Gcc
On Fri, Sep 2, 2022 at 11:50 AM Jørgen Kvalsvik wrote: > > > Hello, > > I played some more with odd programs and the effect on control flow > graph construction (as a part of condition coverage support [1]) and > came across this: > > int fn (int a, int b, int c) { > int x = 0; > if (a &