c++/9868: [3.3/3.4 regression] ICE in c_expand_expr when qualifying member variable

Wolfgang Bangerth bangerth@ticam.utexas.edu
Thu Feb 27 16:06:00 GMT 2003


> >     ---------------------------
> >     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@ticam.utexas.edu
                              www: http://www.ticam.utexas.edu/~bangerth/




More information about the Gcc-bugs mailing list