[Bug analyzer/93779] ICE: unhandled tree code in region_model::get_lvalue_1: 'function_decl'
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 18 13:10:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93779
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by David Malcolm <dmalcolm@gcc.gnu.org>:
https://gcc.gnu.org/g:68f9c41d54a7839e90d10e1400c8726c8ccde88d
commit r10-6693-g68f9c41d54a7839e90d10e1400c8726c8ccde88d
Author: David Malcolm <dmalcolm@redhat.com>
Date: Mon Feb 17 03:28:08 2020 -0500
analyzer: add test coverage for gfortran ICE fix [PR 93779]
PR analyzer/93779 reports an ICE in gfortran with -fanalyzer
that was fixed for GCC 10 by a workaround in
f76a88ebf089871dcce215aa0cb1956ccc060895; the tree code in
question is a FUNCTION_DECL.
Given that I want to rework the above patch at some point, it seems
prudent to add test coverage to ensure the ICE doesn't come back,
which this patch does.
gcc/testsuite/ChangeLog:
PR analyzer/93779
* gfortran.dg/analyzer/pr88304-2.f90: New test, adapted from
gfortran.fortran-torture/compile/pr88304-2.f90
More information about the Gcc-bugs
mailing list