diff options
author | Harald Anlauf <anlauf@gmx.de> | 2021-01-01 18:55:41 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2021-01-01 18:55:41 +0100 |
commit | d816b0c144d15e6570eb5b124b9f3ccbe3d40082 (patch) | |
tree | 92e08a0115ba67d320a8ddca8bca7d633f4f63fd /zlib/trees.c | |
parent | 4b24d500f4ca5cefbeeca2a6924d1ebdc180b184 (diff) | |
download | gcc-d816b0c144d15e6570eb5b124b9f3ccbe3d40082.zip gcc-d816b0c144d15e6570eb5b124b9f3ccbe3d40082.tar.gz gcc-d816b0c144d15e6570eb5b124b9f3ccbe3d40082.tar.bz2 |
PR fortran/96381 - invalid read in gfc_find_derived_vtab
An invalid declaration of a CLASS instance can lead to an internal state
with inconsistent attributes during parsing that needs to be handled with
sufficient care when processing subsequent statements. Avoid a lookup of
the vtab entry for such cases.
gcc/fortran/ChangeLog:
* class.c (gfc_find_vtab): Add check on attribute is_class.
Diffstat (limited to 'zlib/trees.c')
0 files changed, 0 insertions, 0 deletions