diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-03-23 14:29:00 +0100 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-03-23 14:29:00 +0100 |
commit | 9c18db65914a751e4a1d9330ccc1659fe5ef270d (patch) | |
tree | 04d942594ccf4b8e17e0caeb525ff2574646efb4 /gcc/tree-ssa-loop-split.cc | |
parent | 8ea805840200f7dfd2c11b37abf5fbfe479c2fe2 (diff) | |
download | gcc-9c18db65914a751e4a1d9330ccc1659fe5ef270d.zip gcc-9c18db65914a751e4a1d9330ccc1659fe5ef270d.tar.gz gcc-9c18db65914a751e4a1d9330ccc1659fe5ef270d.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-ssa-loop-split.cc')
0 files changed, 0 insertions, 0 deletions