This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9868: [3.3/3.4 regression] ICE in c_expand_expr when qualifyingmember variable
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: Michael Matz <matz at suse dot de>
- Cc: bangerth at dealii dot org, <china at thewrittenword dot com>, <gcc-bugs at gcc dot gnu dot org>, <gcc-gnats at gcc dot gnu dot org>
- Date: Thu, 27 Feb 2003 10:06:51 -0600 (CST)
- Subject: Re: c++/9868: [3.3/3.4 regression] ICE in c_expand_expr when qualifyingmember variable
> > ---------------------------
> > template <typename T> struct D {
> > void (*p)();
> >
> > void clear() { D::p(); }
> > };
> > template class D<bool>;
> > --------------------------
>
> This is exactly the same error as c++/9524.
Correct, at least close. I had a problem with 9524 before, and still have:
it doesn't ICE on mainline for me. It does, however, if I make the class
in 9524 a template, as above. So I think they are not exactly the same.
I'd like to keep both open, for this reason, but will post a note to 9524
to link it to 9868.
Thanks for pointing out the connection
W.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth at ticam dot utexas dot edu
www: http://www.ticam.utexas.edu/~bangerth/