fortran internal error: backend decl for variable ... exists:

Andrew Pinski pinskia@physics.uc.edu
Mon May 2 18:59:00 GMT 2005


On May 2, 2005, at 2:06 PM, Steffen Seeger wrote:

> Hello everybody,
>
> I have successfully built gcc-4.0.0 out of the release
> tar-file (complete distribution) on an athlon system
> targeting i386-scientific-linux.
>
> The C and C++ parts work like a charm so far, compiling
> substantial amounts of C/C++ code without noticeable glitches.
> Congratulations and thank you for doing that good job!
>
> There seems, however, to be an issue with the Fortran 90
> part: Compiling the Fortran interface of the HDF5 libraries
> (a hierarchical data format library for storing and managing
> scientific data) triggers an internal compiler error.
> Isolating the cause I find the following source code
> to trigger the error:
> --- test.f90 ------------------------------------------------------
>         MODULE H5GLOBAL
>
>         INTEGER, PARAMETER :: H5F_FLAGS_LEN = 16
>         INTEGER H5F_flags(H5F_FLAGS_LEN)
>
>         COMMON /H5F_FLAGS/ H5F_flags
>
>         INTEGER :: H5F_CLOSE_WEAK_F
>
>         EQUIVALENCE(H5F_flags(1), H5F_CLOSE_WEAK_F)
>
>         END MODULE H5GLOBAL

This is PR 17917, <http://gcc.gnu.org/PR17917>.

-- Pinski



More information about the Gcc-bugs mailing list