[Patch, fortran] PR fortran/95352 - ICE on select rank with assumed-size selector and lbound intrinsic

José Rui Faustino de Sousa jrfsousa@gmail.com
Fri Aug 21 10:29:17 GMT 2020


Hi all!

Proposed patch to PR95352 - ICE on select rank with assumed-size 
selector and lbound intrinsic.

Patch tested only on x86_64-pc-linux-gnu.

Add check for NULL pointer before trying to access structure member, 
patch by Steve Kargl.

Thank you very much.

Best regards,
José Rui


2020-8-21  Steve Kargl <sgk@troutmask.apl.washington.edu>

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

2020-8-21  José Rui Faustino de Sousa  <jrfsousa@gmail.com>

  PR fortran/95352
  * PR95352.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR95352.patch
Type: text/x-patch
Size: 1169 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200821/cdb10ba5/attachment.bin>


More information about the Gcc-patches mailing list