[Bug fortran/99368] ICE in build_function_decl, at fortran/trans-decl.c:2381

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 3 21:42:35 GMT 2021


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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
   Last reconfirmed|                            |2021-03-03
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed.

The error message for case z2 is misleading, too.  We should report
either a type conflict or better reject simply because the declaration
comes after the namelist statement.

I thought we had fixed this (see pr98686).


More information about the Gcc-bugs mailing list