Re: [PATCH] Fix -fdec simplification (PR fortran/88649).

2019-02-13 Thread Jerry DeLisle
On 2/12/19 10:22 PM, Martin Liška wrote: PING^1. On 2/4/19 1:46 PM, Martin Liška wrote: On 2/4/19 10:56 AM, Martin Liška wrote: Hi. Starting from r266926 'switch (e->value.op.op)' is reached when one using -fdec. That's wrong as -fdec causes to create a e->value.function. I hope the proper fi

Re: [PATCH] Fix -fdec simplification (PR fortran/88649).

2019-02-12 Thread Martin Liška
PING^1. On 2/4/19 1:46 PM, Martin Liška wrote: > On 2/4/19 10:56 AM, Martin Liška wrote: >> Hi. >> >> Starting from r266926 'switch (e->value.op.op)' is reached when >> one using -fdec. That's wrong as -fdec causes to create a e->value.function. >> I hope the proper fix is to skip the mentioned pa

Re: [PATCH] Fix -fdec simplification (PR fortran/88649).

2019-02-04 Thread Martin Liška
On 2/4/19 10:56 AM, Martin Liška wrote: > Hi. > > Starting from r266926 'switch (e->value.op.op)' is reached when > one using -fdec. That's wrong as -fdec causes to create a e->value.function. > I hope the proper fix is to skip the mentioned patch and allow simplification > at the end of the funct

[PATCH] Fix -fdec simplification (PR fortran/88649).

2019-02-04 Thread Martin Liška
Hi. Starting from r266926 'switch (e->value.op.op)' is reached when one using -fdec. That's wrong as -fdec causes to create a e->value.function. I hope the proper fix is to skip the mentioned patch and allow simplification at the end of the function? Patch can bootstrap on x86_64-linux-gnu and su