public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/42801] C VLAs should use DW_AT_allocated
Date: Tue, 25 May 2010 16:16:00 -0000	[thread overview]
Message-ID: <20100525161615.15569.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42801-12292@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from jakub at gcc dot gnu dot org  2010-05-25 16:16 -------
Subject: Bug 42801

Author: jakub
Date: Tue May 25 16:15:38 2010
New Revision: 159826

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159826
Log:
        PR debug/42801
        * tree-inline.c (remap_decls): Remap DECL_VALUE_EXPR here...
        (copy_bind_expr): ... instead of here.
        (copy_tree_body_r): If id->remapping_type_depth clear TREE_BLOCK
        if the block hasn't been remapped.
        * dwarf2out.c (gen_formal_parameter_die, gen_variable_die): When
        emitting concrete instance of abstract VLA, add DW_AT_type attribute.

        * gcc.dg/guality/sra-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/guality/sra-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c


-- 


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


      parent reply	other threads:[~2010-05-25 16:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-19 10:18 [Bug debug/42801] New: " jan dot kratochvil at redhat dot com
2010-01-19 10:58 ` [Bug debug/42801] " jan dot kratochvil at redhat dot com
2010-05-24  8:52 ` jakub at gcc dot gnu dot org
2010-05-24 14:38 ` jakub at gcc dot gnu dot org
2010-05-24 19:54 ` jan dot kratochvil at redhat dot com
2010-05-25 16:16 ` jakub at gcc dot gnu dot org [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100525161615.15569.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).