[Bug fortran/66377] [F95] Wrong-code with equivalenced array in module
sgk at troutmask dot apl.washington.edu
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 00:00:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66377
--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Jun 02, 2015 at 11:37:27PM +0000, sgk at troutmask dot
apl.washington.edu wrote:
>
> OK. Digging a little deeper. The problem is in
> module.c (load_equiv). There is a section of code
> (lines 4526-4534) that tries to avoid loading unused
> equivalenced symbols. If those lines are commented
> out, the original code works.
>
Run gmake check-gfortran with the commented out
code does not cause any regressions. The question
I guess is this some attempt at an optimization.
More information about the Gcc-bugs
mailing list