diff options
author | David Malcolm <dmalcolm@redhat.com> | 2020-02-17 03:28:08 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2020-02-18 08:09:29 -0500 |
commit | 68f9c41d54a7839e90d10e1400c8726c8ccde88d (patch) | |
tree | f55300e2630784fca1aab4d1f07bc61b91183a4f /libgcc/libgcov-merge.c | |
parent | 8f55a0eec910dd02992f4caca083048d91c0b2e1 (diff) | |
download | gcc-68f9c41d54a7839e90d10e1400c8726c8ccde88d.zip gcc-68f9c41d54a7839e90d10e1400c8726c8ccde88d.tar.gz gcc-68f9c41d54a7839e90d10e1400c8726c8ccde88d.tar.bz2 |
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
Diffstat (limited to 'libgcc/libgcov-merge.c')
0 files changed, 0 insertions, 0 deletions