[PATCH] Fix ICE in rtl_for_decl_init on const vector initializers (PR debug/32914)

Mark Mitchell mark@codesourcery.com
Sun Sep 9 19:13:00 GMT 2007


Jakub Jelinek wrote:

> 2007-08-20  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR debug/32914
> 	* dwarf2out.c (rtl_for_decl_init): If vector decl has CONSTRUCTOR
> 	initializer, use build_vector_from_ctor if possible to create
> 	VECTOR_CST out of it.  If vector initializer is not VECTOR_CST
> 	even after this, return NULL.
> 
> 	* d++.dg/debug/const3.C: New test.
> 	* d++.dg/debug/const4.C: New test.
> 	* d++.dg/debug/dwarf2/const1.C: New test.
> 	* d++.dg/debug/dwarf2/const2.C: New test.
> 	* d++.dg/debug/dwarf2/const2b.C: New test.

OK.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list