https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80988

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Jerry DeLisle from comment #2)
> Try compiling with -fno-frontend-optimize to confirm.

... and if this fixes the problem (assuming it is in foo.f90),
do the following:

$ gfortran -c -fno-frontend-optimize -fdump-fortran-original foo.f90 >
foo-1.dump
$ gfortran -c -ffrontend-optimize -fdump-fortran-original foo.f90 > foo-2.dump
$ diff -u foo-1.dump foo-2.dump

This will show you the relevant differences.  This should help you
in creating a (hopefully) much-reduced testcase.

Reply via email to