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 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 survives regression tests.

Ready to be installed?
Thanks,
Martin



Yes, OK



gcc/fortran/ChangeLog:

2019-01-25  Martin Liska  <mli...@suse.cz>

        PR fortran/88649
        * resolve.c (resolve_operator): Initialize 't' right
        after function entry.  Skip switch (e->value.op.op)
        for -fdec operands that become function calls.
---
  gcc/fortran/resolve.c | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)



I forgot to include fortran ML.

Martin




Reply via email to