public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug c++/7173] c++ access to ambiguous base should detect the ambiguity
Date: Mon, 21 May 2012 19:49:00 -0000	[thread overview]
Message-ID: <bug-7173-4717-9BaZlgFD87@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-7173-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=7173

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-05-21 19:48:00 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-05-21 19:47:55

Modified files:
    gdb            : ChangeLog ada-lang.c eval.c gnu-v3-abi.c 
                     infcall.c valops.c value.h 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.cp: inherit.exp 

Log message:
    PR c++/7173:
    * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java
    types.
    * value.h (value_cast_pointers): Update.
    * valops.c (value_cast_pointers): Add 'subclass_check' argument.
    (value_cast): Update.
    (update_search_result): New function.
    (do_search_struct_field): New, from search_struct_field.  Check
    for ambiguous results.
    (search_struct_field): Rewrite.
    * infcall.c (value_arg_coerce): Update.
    * eval.c (evaluate_subexp_standard) <STRUCTOP_MEMBER>: Use
    value_cast_pointers.
    * ada-lang.c (ada_convert_actual): Update.
    testsuite
    * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
    Remove kfails.
    (test_print_mi_member_types): Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14274&r2=1.14275
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.368&r2=1.369
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/eval.c.diff?cvsroot=src&r1=1.161&r2=1.162
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gnu-v3-abi.c.diff?cvsroot=src&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infcall.c.diff?cvsroot=src&r1=1.154&r2=1.155
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/valops.c.diff?cvsroot=src&r1=1.293&r2=1.294
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.h.diff?cvsroot=src&r1=1.205&r2=1.206
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3202&r2=1.3203
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/inherit.exp.diff?cvsroot=src&r1=1.24&r2=1.25

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


       reply	other threads:[~2012-05-21 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-7173-4717@http.sourceware.org/bugzilla/>
2012-05-21 19:49 ` cvs-commit at gcc dot gnu.org [this message]
2012-05-21 19:50 ` tromey at redhat dot 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-7173-4717-9BaZlgFD87@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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).