This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]