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

            Bug ID: 96870
           Summary: Class name on error message
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jrfsousa at gmail dot com
  Target Milestone: ---

Created attachment 49161
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49161&action=edit
Fortran code demonstrating problems.

Hi all!

Having error messages with the internal class name is not very helpful for the
average user:

Error: Type mismatch in argument ‘p’ at (1); passed CLASS(__class_main_p_T0_p)
to CLASS(__class_main_p_T1_t)

Seen on:

GNU Fortran (GCC) 9.3.1 20200831
GNU Fortran (GCC) 10.2.1 20200831
GNU Fortran (GCC) 11.0.0 20200831 (experimental)

Thank you very much.

Best regards,
José Rui

Reply via email to