public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tomas dot vanek at fbl dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/23205] [4.0/4.1 Regression] [C++/unit-at-a-time] stabs debug info omitted for global const variables
Date: Wed, 17 Aug 2005 20:44:00 -0000	[thread overview]
Message-ID: <20050817203530.1790.qmail@sourceware.org> (raw)
In-Reply-To: <20050802184349.23205.dpatel@apple.com>


------- Additional Comments From tomas dot vanek at fbl dot cz  2005-08-17 20:35 -------
It seems the same bug is in generating stabs for any global variable too.
Very easy test code var.c :-)

int var;

gcc -S -gstabs var.c

generates
     .stabs  "var:G(0,1)",32,0,0,0

gcc -S -gstabs -funit-at-a-time var.c

generates only .comm or .skip and does no stabs for the variable.
Tested i386 gcc 4.0.0 and cross avr-gcc 4.0.1.
Still to be left as an exercise for the reader?

-- 


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


  parent reply	other threads:[~2005-08-17 20:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 18:43 [Bug debug/23205] New: [C++] debug info omitted for global variables dpatel at apple dot com
2005-08-02 18:45 ` [Bug debug/23205] [C++] debug info omitted for global static const variables pinskia at gcc dot gnu dot org
2005-08-02 18:45 ` [Bug debug/23205] [C++] debug info omitted for global " pinskia at gcc dot gnu dot org
2005-08-02 18:57 ` [Bug c++/23205] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-08-02 19:00 ` [Bug c++/23205] [4.0/4.1 Regression] [C++/unit-at-a-time] " dpatel at apple dot com
2005-08-02 19:02 ` [Bug c++/23205] [4.0/4.1 Regression] [C++/unit-at-a-time] stabs " pinskia at gcc dot gnu dot org
2005-08-13  0:33 ` wilson at gcc dot gnu dot org
2005-08-17 20:44 ` tomas dot vanek at fbl dot cz [this message]
2005-08-17 21:08 ` pinskia at gcc dot gnu dot org
2005-09-18  2:18 ` pinskia at gcc dot gnu dot org
2005-09-27 15:58 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-23205-690@http.gcc.gnu.org/bugzilla/>
2005-10-06  0:47 ` cvs-commit at gcc dot gnu dot org

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=20050817203530.1790.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).