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/32644] "CHARACTER*1, c" produces "Unclassifiable statement"



------- Comment #1 from dfranke at gcc dot gnu dot org  2007-07-06 11:53 -------
gcc version 4.3.0 20070627 (experimental)
$> gfortran-svn -g -Wall pr32644.f90
pr32644.f90:2.14:

CHARACTER*1, c
             1
Warning: Unused variable c declared at (1)


gcc version 4.3.0 20070705 (experimental)
$> gfortran-svn -g -Wall pr32644.f90
pr32644.f90:2:

CHARACTER*1, c
1
Error: Unclassifiable statement at (1)


SUN says:
"pr32644.f90", Line = 2, Column = 11: COMMENT: The "* <char-length> [,]" form
of character declaration is an obsolescent form.

Lahey states:
3910-W: "SOURCE.F90", line 2, column 10: CHARACTER* form of CHARACTER
declaration is an obsolescent feature.


-- 

dfranke at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |19276
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2007-07-06 11:53:03
               date|                            |


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


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