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/22210] gfc_conv_array_initializer weirdness


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

John T <jrt at worldlinc dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jrt at worldlinc dot net

--- Comment #15 from John T <jrt at worldlinc dot net> 2011-01-05 17:47:45 UTC ---
Using gfortran for gcc-4.4.5 on i686 Linux, compiled here with
glib-2.7-something on Mandriva 2008.1, I got the following error while
compiling files for an old program. I looked at the gfortran source around line
4781 of varasm.c, but don't know enough to make any suggestions about the
problem. The only observation I have is that the preceding if statement assures
that pos doesn't equal totalbytes, so the >= operator shouldn't need the = in
the assert argument. I don't know what statement sets the size of the data
block (and its size).

gfortran   -c -o mind.o mind.f
mind.f:457: internal compiler error: in output_constructor, at varasm.c:4781

line 454+ of mind.f contains the statements
     return
     end
c---------------------------------------------------------
     block data general
c---------------------------------------------------------
c
     common /grid/grid_on


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