re PR rtl-optimization/92882 (ICE in regstat_bb_compute_calls_crossed, at regstat...
authorJakub Jelinek <jakub@redhat.com>
Tue, 10 Dec 2019 21:05:59 +0000 (22:05 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 10 Dec 2019 21:05:59 +0000 (22:05 +0100)
commit5e72bcc1dd04034341c93f1cd0b0ac8fdf43e966
tree242937b6a9705ed1659269e1389f37b8c46c18a3
parent27f418b8ec6d0a95c10844e468d2d579ea16d826
re PR rtl-optimization/92882 (ICE in regstat_bb_compute_calls_crossed, at regstat.c:327 since r279124)

PR rtl-optimization/92882
* regstat.c (regstat_bb_compute_calls_crossed): Don't check
INSN_UID against DF_INSN_SIZE or use DF_INSN_INFO_GET unless
NONDEBUG_INSN_P.

* gfortran.dg/pr92882.f: New test.

From-SVN: r279196
gcc/ChangeLog
gcc/regstat.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr92882.f [new file with mode: 0644]