From: Jakub Jelinek Date: Wed, 22 Nov 2017 09:43:28 +0000 (+0100) Subject: re PR debug/83034 (ice in mem_loc_descriptor, at dwarf2out.c :15669) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a770b5907cdb70709356fbbfe5c570010b0b936;p=gcc.git re PR debug/83034 (ice in mem_loc_descriptor, at dwarf2out.c :15669) PR debug/83034 * dwarf2out.c (mem_loc_descriptor): Handle VEC_SERIES. * gcc.dg/pr83034.c: New test. From-SVN: r255049 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4b05f0eb2f..d4b184e1262 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2017-11-22 Jakub Jelinek + PR debug/83034 + * dwarf2out.c (mem_loc_descriptor): Handle VEC_SERIES. + PR rtl-optimization/82044 PR tree-optimization/82042 * dse.c (record_store): Check for overflow. diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 89e119c3dca..8207dd5efc5 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -15605,6 +15605,7 @@ mem_loc_descriptor (rtx rtl, machine_mode mode, case VEC_SELECT: case VEC_CONCAT: case VEC_DUPLICATE: + case VEC_SERIES: case UNSPEC: case HIGH: case FMA: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e3ea2f52ceb..b08855f9566 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-11-22 Jakub Jelinek + + PR debug/83034 + * gcc.dg/pr83034.c: New test. + 2017-11-22 Richard Biener PR tree-optimization/83089 diff --git a/gcc/testsuite/gcc.dg/pr83034.c b/gcc/testsuite/gcc.dg/pr83034.c new file mode 100644 index 00000000000..875a3fe52ca --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr83034.c @@ -0,0 +1,12 @@ +/* PR debug/83034 */ +/* { dg-do compile } */ +/* { dg-options "-funroll-loops -Ofast -g" } */ + +__attribute__((__simd__)) float expf (float); + +void +foo (float *a, int x) +{ + for (; x; x++) + a[x] = expf (x); +}