------- Comment #1 from jakub at gcc dot gnu dot org  2010-03-03 07:02 -------
Subject: Bug 43237

Author: jakub
Date: Wed Mar  3 07:02:37 2010
New Revision: 157190

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157190
Log:
        PR debug/43237
        * dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die,
        fallthrough to default handling, just with want_address 0 instead of 2.
        For single element lists, add_AT_loc directly, otherwise create an
        artificial variable DIE and stick location list to it.

        * gcc.dg/debug/dwarf2/pr43237.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/debug/dwarf2/pr43237.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43237

Reply via email to