Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Elizabeth Chastain <mec@shout.net>
To: aph@redhat.com, gcc@gcc.gnu.org
Cc: gdb@sources.redhat.com
Subject: Re: Handling aliases in debug information
Date: Wed, 24 Sep 2003 19:53:00 -0000	[thread overview]
Message-ID: <200309241953.h8OJr47t016675@duracef.shout.net> (raw)

Both (a) and (c).

I have a current problem with anonymous unions also.
The gdb test script for anon unions has more FAILs with
g++ HEAD than g++ 3.3.1.

g++ has an issue with the variable scopes of 'main' in C++.
'main' is special because the standard explicitly allows 'main'
  to return an 'int' but not have a return statement at the end
  (which returns a success value).
So g++ has a little bit of special code.

I started pursuing this a few months ago and got sidetracked
because my test program made gcc ICE, and by the time that got
fixed, I was working on something else.

Can you separate the two issues -- have your 'main' function
call a different function with the anonymous union in it.
That would help.

The gcc people can't fix PR's if I don't file them!
After gdb 6.0 ships I will get back to debug info regressions
from gcc 3.3.1 to gcc HEAD.

Michael C
GDB QA Guy


             reply	other threads:[~2003-09-24 19:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 19:53 Michael Elizabeth Chastain [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-24 18:14 Andrew Haley
2003-09-24 19:31 ` Elena Zannoni

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=200309241953.h8OJr47t016675@duracef.shout.net \
    --to=mec@shout.net \
    --cc=aph@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=gdb@sources.redhat.com \
    /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