2020-8-21 Steve Kargl <sgk@troutmask.apl.washington.edu>
authorSteve Kargl <sgk@troutmask.apl.washington.edu>
Sun, 30 Aug 2020 17:48:12 +0000 (17:48 +0000)
committerJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
Sun, 30 Aug 2020 17:49:25 +0000 (17:49 +0000)
commitcd49b7067893b548a10c99ea0cb6aba2977eef2e
tree6297fe037fdcac76dc74c24ca42ed19a1c55064e
parent8e1be7efcb1c68dd82e2b2c1bcf3e5ace245654d
2020-8-21  Steve Kargl <sgk@troutmask.apl.washington.edu>

gcc/fortran/ChangeLog:

PR fortran/95352
* simplify.c (simplify_bound_dim): Add check for NULL pointer
before trying to access structure member.

    José Rui Faustino de Sousa  <jrfsousa@gmail.com>

gcc/testsuite/ChangeLog:

* gfortran.dg/PR95352.f90: New test.
gcc/fortran/simplify.c
gcc/testsuite/gfortran.dg/PR95352.f90 [new file with mode: 0644]