]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
Fix ICE in gfc_trans_subcomponent_assign due to NULL components.
authorFritz O. Reese <fritzoreese@gmail.com>
Wed, 9 Nov 2016 17:31:27 +0000 (17:31 +0000)
committerFritz Reese <foreese@gcc.gnu.org>
Wed, 9 Nov 2016 17:31:27 +0000 (17:31 +0000)
commitf31adad4cbbb1ece12a84b698e5cbfeea756d4ce
treef7a155b241bd205bfc51fc7c88c557b69f28be27
parentb349a81aa03c74c0d39fb5ac847c308ab63be76e
Fix ICE in gfc_trans_subcomponent_assign due to NULL components.

PR fortran/78259
* gcc/fortran/trans-expr.c (gfc_trans_subcomponent_assign): Guard
against NULL values.

PR fortran/78259
* gcc/testsuite/gfortran.dg/pr78259.f90: New test.

From-SVN: r242010
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr78259.f90 [new file with mode: 0644]