public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
To: hjl@lucon.org
Cc: loewis@informatik.hu-berlin.de, egcs@cygnus.com
Subject: Re: An OVL_CURRENT patch?
Date: Sun, 10 May 1998 02:05:00 -0000	[thread overview]
Message-ID: <199805100656.IAA00362@mira.isdn.cs.tu-berlin.de> (raw)
In-Reply-To: <m0yYK6V-000268C@ocean.lucon.org>

> Does this patch make any sense? 

When accessing the name of an overloaded function, you really want the
name of first function. So yes, the patch looks OK.

> Should we check all usages of TREE_VEC_ELT to see if OVL_CURRENT is
> needed?

There should be test cases for each change we make. I've included test
cases for your changes below.

Regards,
Martin

----------------------------------------------------------------
// Build don't link:
struct X{
  void f();        
};

struct Y:X{
  void f(int);
  void f();
  using X::f;       // ERROR - conflict
};                  // ERROR -
----------------------------------------------------------------
//Build don't link:
struct X{
  void i();     // ERROR -
  void i(int);
  int i;        // ERROR - conflict
};
----------------------------------------------------------------
// Build don't link:
struct A{
  A();
};

typedef struct {
  A i;
} S;

struct B: S{
  using S::S;        // ERROR - no such field
};

      reply	other threads:[~1998-05-10  2:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-09 17:36 H.J. Lu
1998-05-10  2:05 ` Martin von Loewis [this message]

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=199805100656.IAA00362@mira.isdn.cs.tu-berlin.de \
    --to=martin@mira.isdn.cs.tu-berlin.de \
    --cc=egcs@cygnus.com \
    --cc=hjl@lucon.org \
    --cc=loewis@informatik.hu-berlin.de \
    /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).