Ticket #121 (accepted defect)

Opened 9 years ago

Last modified 5 years ago

mfef90: TINY and EPSILON are not recognized by the parser

Reported by: Utke Owned by: utke
Priority: 3 Milestone:
Component: F90 Front End Keywords:
Cc:

Description (last modified by utke) (diff)

in initialization statements the use of Fortran intrinsics with constant arguments (see attached code) leads to error messages by mfef90 when it should not.
For example:
double precision :: x1=tiny(1.0)
yields:
sgif90-842 mfef90: ERROR TEST, File = missingIntr.f90, Line = 2, Column = 26

The initialization expression used on a type declaration statement must be a constant expression.

Attachments

missingIntr.f90 Download (109 bytes) - added by Utke 8 years ago.

Change History

Changed 8 years ago by Utke

Changed 7 years ago by Utke

The first attachemen was the wrong file. Please look at the second attachment

Changed 5 years ago by utke

  • status changed from Assigned to new
  • description modified (diff)

Changed 5 years ago by utke

  • owner set to utke
  • status changed from new to accepted
  • summary changed from mfef90: inappropriate error on init with intrinsics of constant arguments to mfef90: TINY and EPSILON are not recognized by the parser
Note: See TracTickets for help on using tickets.