c++/10867: Internal compiler error with constant enum

Wolfgang Bangerth bangerth@ices.utexas.edu
Tue May 20 13:24:00 GMT 2003


> > Confirmed. Fixed in 3.3, though, and broken again in 3.4.
> > However, it's a duplicate of a number of other reports, so
> > I close it.
> 
> Which PR is this duplicate of? I can't find it.

This is the 

struct X {
  static int f();
  static const int i = sizeof(f);
};

problem, PR 9259 for example.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/





More information about the Gcc-bugs mailing list