This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 252.eon
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Michael Matz <matz at kde dot org>
- Cc: Jason Merrill <jason at redhat dot com>, matz at suse dot de, gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com
- Date: Fri, 01 Mar 2002 15:01:40 +0100
- Subject: Re: 252.eon
- References: <Pine.GSO.4.33.0203011312170.9673-100000@platon>
Michael Matz wrote:
> Just to make this crystal clear for myself: You mean something like the
> patch below? I've regtested it on x86 (3.1 branch and head), and
> bootstrap is just running on both. If there are no problems with that
> I'll commit the below diff to both branches.
Thanks Michael!
I was wondering if could be appropriate to add your reduced testcase to the
testsuite??
----------------
template <class T>
class Wrapper {
public:
Wrapper (T& a);
Wrapper (const Wrapper<char>& ref);
};
template <class T>
class Element {
public:
T * operator[](int x);
};
void test()
{
char bla = 42;
Element< Wrapper <unsigned char> > elem;
elem[1][1] = Wrapper<char> (bla);
}
------------------
Ciao,
Paolo.