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]

fortran/8485: g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication


>Number:         8485
>Category:       fortran
>Synopsis:       g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 06 14:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Philou Marguinad
>Release:        3.2
>Organization:
>Environment:
Linux (doesn't seem to be really relevant.
>Description:
g77 rejects the following, which uses a supported extension
(namely, 64-bit INTEGERs):

      PARAMETER (PPMULT = 1.0E5)
      INTEGER*8 NWRONG
      PARAMETER (NWRONG = 8)
      PARAMETER (DDMULT = PPMULT * NWRONG)
      END

      PARAMETER (DDMULT = PPMULT * NWRONG)
                          ^
Expression at (^) has incorrect data type or rank for
its context
>How-To-Repeat:
Compile the above just using g77 file.f
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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