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
This commit is contained in:
Jakub Jelinek 2017-11-22 10:43:28 +01:00 committed by Jakub Jelinek
parent 213ffde2ea
commit 0a770b5907
4 changed files with 21 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2017-11-22 Jakub Jelinek <jakub@redhat.com>
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.

View file

@ -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:

View file

@ -1,3 +1,8 @@
2017-11-22 Jakub Jelinek <jakub@redhat.com>
PR debug/83034
* gcc.dg/pr83034.c: New test.
2017-11-22 Richard Biener <rguenther@suse.de>
PR tree-optimization/83089

View file

@ -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);
}