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]

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



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


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