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/34997] New: Common vendor extension: Support symbol names containing $


This seems to be a common vendor extension. Example:

      REAL*4 PLT$C_HOUSTPIX
      INTEGER PLT$C_COMMAND
      PARAMETER (PLT$B_OPC=0)
      common /abc$def/ PLT$C_HOUSTPIX, PLT$C_COMMAND
      end

This compiles using NAG f95 (with the warning "Extension: Name contains $
character") and with ifort, sunf95, openf95. With "-stand f95" also ifort warns
("Invalid use of $ character in identifier"). While gfortran rejects it
completely (syntax error).


-- 
           Summary: Common vendor extension: Support symbol names containing
                    $
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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