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

            Bug ID: 79854
           Summary: diagnostics: gfc_conv_constant_to_tree should be
                    gfc_internal_error
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

from fortran/trans-const.c:

fatal_error (input_location,
             "gfc_conv_constant_to_tree(): invalid type: %s",
             gfc_typename (&expr->ts));

Since the diagnostic mentions an internal function name, it must be a
gfc_internal_error instead of a fatal_error.

Reply via email to