[Bug fortran/47803] [F95+] Constant inquiry function rejected in PARAMETER definition

anlauf at gmx dot de gcc-bugzilla@gcc.gnu.org
Tue Mar 13 22:19:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47803

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
Replacing the line

  INTEGER :: A(int(1))

in comment #0 by

  INTEGER :: A(1)

or

  INTEGER :: A(1+0)

works, but other variants like

  INTEGER :: A((1))

fail.

Apparently some attempt to simplify is missing.
I think I've seen related PRs or duplicates.


More information about the Gcc-bugs mailing list