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/32472] ICE in trans-const.c:106 for REPEAT initialization expression of non-parameter



------- Comment #2 from pault at gcc dot gnu dot org  2007-06-23 21:13 -------
(In reply to comment #1)

It's wierd - this works fine:

Character(1), parameter :: query = "?"
CHARACTER(len=1025) :: string2 = repeat(query,1025)
print *, string2
end

Paul


-- 


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


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