http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55901
--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> 2013-04-08 18:16:06 UTC --- (In reply to comment #3) > I am newbie to fortran, Can you please explain me in detail with an example. > > Thanks in advance Replace character(len=*) :: s in your code by e.g. character(len=20) :: s Then it will compile work. This is a general Fortran issue and has nothing to do with gfortran. Note: the bugzilla should not be used to learn about Fortran. Use a textbook about Fortran or the newsgroup "comp.lang.fortran" which you can access via google groups.