]> gcc.gnu.org Git - gcc.git/commit
Fortran: Add attr.class_ok check for generate_callback_wrapper
authorTobias Burnus <tobias@codesourcery.com>
Thu, 23 Mar 2023 13:29:00 +0000 (14:29 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 23 Mar 2023 13:29:00 +0000 (14:29 +0100)
commit9c18db65914a751e4a1d9330ccc1659fe5ef270d
tree04d942594ccf4b8e17e0caeb525ff2574646efb4
parent8ea805840200f7dfd2c11b37abf5fbfe479c2fe2
Fortran: Add attr.class_ok check for generate_callback_wrapper

Proper variables/components of type BT_CLASS have 'class_ok' set; check
for that to avoid an ICE on invalid code for gfortran.dg/pr108434.f90.

gcc/fortran/
* class.cc (generate_callback_wrapper): Add attr.class_ok check.
* resolve.cc (resolve_fl_derived): Likewise.
gcc/fortran/ChangeLog.omp
gcc/fortran/class.cc
gcc/fortran/resolve.cc
This page took 0.061386 seconds and 6 git commands to generate.