This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/32914] [4.2 Regression] ICE in rtl_for_decl_init with -g option
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2007 07:25:37 -0000
- Subject: [Bug debug/32914] [4.2 Regression] ICE in rtl_for_decl_init with -g option
- References: <bug-32914-11725@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2007-08-31 07:25 -------
Subject: Bug 32914
Author: jakub
Date: Fri Aug 31 07:25:20 2007
New Revision: 127958
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127958
Log:
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.
Added:
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/debug/const3.C
branches/gcc-4_2-branch/gcc/testsuite/g++.dg/debug/const4.C
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/dwarf2out.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32914