This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/32914] [4.2 Regression] ICE in rtl_for_decl_init with -g option



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]