------- Comment #8 from burnus at gcc dot gnu dot org  2007-06-19 15:30 -------
Bob,

> Can you please tell me why the compiler flags "tauaero.f:1517" while  
> the problem seems to be associated with the data statement at line  
> 1601?

The line number shown when an internal compiler error occurs is often not
reliably; often something goes wrong at one place, but this is only triggered
when the compiler is at a completely different place. I found the line using
other compilers; but also the brand-new error message of the gfortran 4.3
compiler shows now:

tauaero.f:1601.17:
      data wlbaer/0.,0./
                1
tauaero.f:1587.21:
     &     wlbaer(2)=0.,
                    2
Error: 'wlbaer' at (1) already is initialized at (2)

Thus either "=0." in line 1587 or "data wlbaer/0.,0./" needs to be removed.

> I have tried your suggestion (commenting out the data  
> statement), but the code does not appear to work correctly with this  
> modification.

I miss a good test case. If you have one, I'm really interested. However, I
found some divergence in the output compared with other compilers, see PR
32404.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32236

Reply via email to