From 1d24f24c6afbd8fd00e31644d94fdb4f60d7ae36 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 18 Mar 2019 09:31:41 +0100 Subject: [PATCH] re PR middle-end/86979 (ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin) PR middle-end/86979 * gcc.dg/pr86979.c: New test. From-SVN: r269752 --- gcc/ChangeLog | 2 +- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/pr86979.c | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 gcc/testsuite/gcc.dg/pr86979.c diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b66cb5d81cc..7580713c8cf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,6 @@ 2019-03-18 Andrey Belevantsev - PR middle-end/89676 + PR middle-end/86979 * sel-sched.c (compute_av_set_at_bb_end): When we have an ineligible successor, use NULL as its av set. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ecb99628167..585cba50d97 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-03-18 Jakub Jelinek + + PR middle-end/86979 + * gcc.dg/pr86979.c: New test. + 2019-03-17 Thomas Koenig PR fortran/88008 diff --git a/gcc/testsuite/gcc.dg/pr86979.c b/gcc/testsuite/gcc.dg/pr86979.c new file mode 100644 index 00000000000..5c78d785a44 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr86979.c @@ -0,0 +1,5 @@ +/* { dg-options "-Og -fPIC -fschedule-insns2 -fselective-scheduling2 -fno-tree-fre --param=max-sched-extend-regions-iters=2" } */ +/* { dg-require-effective-target scheduling } */ +/* { dg-require-effective-target fpic } */ + +#include "../gcc.c-torture/compile/pr69102.c" -- 2.30.2