From: Michael Elizabeth Chastain <mec@shout.net>
To: drow@mvista.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] gdb.c++/method.exp
Date: Mon, 08 Apr 2002 10:17:00 -0000 [thread overview]
Message-ID: <200204081717.g38HHO701077@duracef.shout.net> (raw)
Daniel Jacobowitz writes:
> Does anything currently produce A const * const? It's probably
> legal...
I haven't seen any "A const * const". I guess I would have to accommodate
that if somebody saw one. I'm not inclined to put it in at this time.
Here's what I've got (2002-04-04, native i686-pc-linux-gnu):
const A * const
gcc 2.95.3 -gdwarf-2
gcc 2.96-rh -gdwarf-2
gcc 3.0.4 -gdwarf-2
gcc gcc-3_1-branch -gdwarf-2
gcc HEAD -gdwarf-2
A *
gcc 2.95.3 -gstabs+
gcc 2.96-rh -gstabs+
gcc 3.0.4 -gstabs+
const class {...} * const
gcc gcc-3_1-branch -gstabs+
gcc HEAD -gstabs+
"const A * const" should always be a PASS.
"A *" should be a FAIL or an XFAIL, depending on what is in the
generated code. If gcc is omitting the const then it's an XFAIL.
I will grub around in the generated code to figure that out.
"const class {...} * const" looks like a gdb bug to me. Again I will
look in the generated code. That will likely be a FAIL with a bug
report (soon to be a KFAIL).
Michael C
next reply other threads:[~2002-04-08 17:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-08 10:17 Michael Elizabeth Chastain [this message]
2002-04-08 11:43 ` Daniel Jacobowitz
-- strict thread matches above, loose matches on Subject: below --
2002-04-08 8:12 Michael Elizabeth Chastain
2002-04-08 8:19 ` Daniel Jacobowitz
2002-04-08 0:26 Michael Elizabeth Chastain
2002-04-08 0:21 Michael Elizabeth Chastain
2002-04-08 7:37 ` Daniel Jacobowitz
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=200204081717.g38HHO701077@duracef.shout.net \
--to=mec@shout.net \
--cc=drow@mvista.com \
--cc=gdb-patches@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