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

            Bug ID: 117136
           Summary: ice for gfortran.dg/typebound_operator_11.f90
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

>From the gcc testsuite:

testsuite $ /home/dcb40b/gcc/results.20241012.asan.ubsan/bin/gfortran -c
./gfortran.dg/typebound_operator_11.f90
testsuite $ /home/dcb40b/gcc/results.20241014.asan.ubsan/bin/gfortran -c
./gfortran.dg/typebound_operator_11.f90
./gfortran.dg/typebound_operator_11.f90:38:16:

   38 |     x = x%t()*dt
      |                1
internal compiler error: tree check: expected function_decl, have indirect_ref
in DECL_FUNCTION_CODE, at tree.h:4329
0x23a84bd internal_error(char const*, ...)
       
/home/dcb40b/gcc/working/gcc/../../trunk/gcc/diagnostic-global-context.cc:517
0x1313f6f tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        /home/dcb40b/gcc/working/gcc/../../trunk/gcc/tree.cc:9003
0x8c1fd3 update_builtin_function(tree_node*, gfc_symbol*)
        /home/dcb40b/gcc/working/gcc/../../trunk/gcc/fortran/trans-expr.cc:0

Git hashes are g:c4af4fe11e71c686 and g:c53bd48c6920bc1f

Reply via email to