diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-08-28 11:44:57 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2007-08-28 11:44:57 +0200 |
commit | a7d0852d3f7d3e0a596f53efb2d75cf522ffb43f (patch) | |
tree | 4157d365858a0a5f25d896c2f084ec1c1692a791 /gcc/ChangeLog | |
parent | 6a76d2166ce933df0b010f83004cb10f5dde4fb3 (diff) | |
download | gcc-a7d0852d3f7d3e0a596f53efb2d75cf522ffb43f.zip gcc-a7d0852d3f7d3e0a596f53efb2d75cf522ffb43f.tar.gz gcc-a7d0852d3f7d3e0a596f53efb2d75cf522ffb43f.tar.bz2 |
re PR debug/32914 (ICE in rtl_for_decl_init with -g option)
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.
From-SVN: r127854
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7e84cf..9f7fe58 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2007-08-28 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. + 2007-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net> * c-pretty-print.c (pp_c_constant): Handle COMPLEX_CST. |