public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ccoutant at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/56805] DW_TAG_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)
Date: Tue, 02 Apr 2013 20:35:00 -0000	[thread overview]
Message-ID: <bug-56805-4-xNhTPstSR2@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-56805-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #4 from Cary Coutant <ccoutant at gcc dot gnu.org> 2013-04-02 20:34:57 UTC ---
In GCC 4.6, type sections were the default for -gdwarf-4, but -gdwarf-2 was
still the default for 4.6, I think. If you explicitly ask for -gdwarf-4, you
can also add -gstrict-dwarf and it will not generate the type sections. The
-fdebug-types-section flag was added in 4.7 when -gdwarf-4 was made the
default.

So if all you need is DWARF-4 with GCC 4.6 and -fno-eliminate-unused-types, but
you don't need type sections, just add -gstrict-dwarf.


  parent reply	other threads:[~2013-04-02 20:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-01 23:25 [Bug debug/56805] New: DW_AT_typedef " jan.smets@alcatel-lucent.com
2013-04-01 23:33 ` [Bug debug/56805] " jan.smets@alcatel-lucent.com
2013-04-02 17:40 ` [Bug debug/56805] DW_TAG_typedef " ccoutant at gcc dot gnu.org
2013-04-02 18:11 ` jan.smets@alcatel-lucent.com
2013-04-02 20:35 ` ccoutant at gcc dot gnu.org [this message]
2013-04-02 20:36 ` ccoutant at gcc dot gnu.org
2013-04-02 21:28 ` jan.smets@alcatel-lucent.com
2013-04-12  9:38 ` jan.smets@alcatel-lucent.com
2013-09-03  9:01 ` jan.smets@alcatel-lucent.com

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=bug-56805-4-xNhTPstSR2@http.gcc.gnu.org/bugzilla/ \
    --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).