aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-parser.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2020-07-06 18:58:23 +0200
committerHarald Anlauf <anlauf@gmx.de>2020-07-06 19:00:10 +0200
commitf2151227dfe90a5fe73297c370786be98b0b090f (patch)
tree78c1d2ae22e21a6a15cd25c0cda8e1a865230a46 /gcc/c/c-parser.c
parent824084e72e388f81015e7f67922c75f50741355a (diff)
downloadgcc-f2151227dfe90a5fe73297c370786be98b0b090f.zip
gcc-f2151227dfe90a5fe73297c370786be98b0b090f.tar.gz
gcc-f2151227dfe90a5fe73297c370786be98b0b090f.tar.bz2
PR fortran/95980 - ICE on using sync images with -fcheck=bounds
In SELECT TYPE, the argument may be an incorrectly specified unlimited polymorphic variable. Avoid a NULL pointer dereference for clean error recovery. gcc/fortran/ PR fortran/95980 * match.c (copy_ts_from_selector_to_associate, build_class_sym): Distinguish between unlimited polymorphic and ordinary variables to avoid NULL pointer dereference. * resolve.c (resolve_select_type): Distinguish between unlimited polymorphic and ordinary variables to avoid NULL pointer dereference.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions