[Bug fortran/57553] Valid use of STORAGE_SIZE rejected, bad error message for invalid use

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 8 12:24:00 GMT 2013


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

--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> ---
The rejects-valid and the ICE-on-valid-code issue has been solved.


TODO: The following message for invalid code should be improved. [The problem
is that storage_size cannot handle "a", which is required for a constant
expression.]

    integer, parameter :: ESize = ( storage_size(a) + 7 ) / 8
    1
  Error: Unclassifiable statement at (1)



More information about the Gcc-bugs mailing list