This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/66377] [F95] Wrong-code with equivalenced array in module


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]