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/33149] internal compiler error: in gfc_conv_constant



------- Comment #2 from burnus at gcc dot gnu dot org  2007-08-22 17:35 -------
I think the problem has been fixed meanwhile; I can reproduce it with 4.1.3
20070521 and 4.2.1 20070705, but not with 4.3.0 20070822.

Using gfortran 4.3 gives the following error message:

    integer  :: i,j,k,ndim=size(cl)
                               1
Error: deferred array 'cl' at (1) is not permitted in an initialization
expression

It probably works with gfortran 4.2 if you fix the code. The official GCC
policy is to only fix regressions in released versions - and as this seems to
be an ICE which only occurs for invalid code, it is unlikely that we will break
that rule.

gfortran 4.3 nightly binaries are available from
http://gcc.gnu.org/wiki/GFortranBinaries
and older gcc 4.3 openSUSE builds are available from
http://software.opensuse.org/search?q=gcc43&p=1&baseproject=openSUSE%3A10.2
(I selected 10.2, if you have to modify the search if you have another version
of SUSE; see also: http://gcc.gnu.org/wiki/GFortranDistros )

Please confirm that either with the 4.3 binaries or after fixing your program,
error is gone.


-- 


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


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