This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
fortran/8485: g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication
- From: pmarguinaud at hotmail dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Nov 2002 22:01:37 -0000
- Subject: fortran/8485: g77 doesn't accept INTEGER*8 constant in PARAMETER multiplication
- Reply-to: pmarguinaud at hotmail dot com
>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: