bug report
Gabriel J. Ferrer
gjf2a@cs.virginia.edu
Fri Aug 7 08:52:00 GMT 1998
Folks,
Compile the following program (I called it bug.cc):
class Pixel {
public:
Pixel(int a, int b) : x(a), y(b) {}
private:
int x;
int y;
};
class Bug {
private:
static const Pixel thing(-1, -1);
};
bash$ g++ -o bug bug.cc
bug.cc:12: Internal compiler error.
bug.cc:12: Please submit a full bug report to `egcs-bugs@cygnus.com'.
bash$ g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.27/specs
gcc version egcs-2.90.27 980315 (egcs-1.0.2 release)
I'm running on a Pentium MMX running RedHat 5.1. If you need any more
information, feel free to email me.
--
Gabe Ferrer | Computer Vision Research Group
Graduate Research/Teaching Asst. | University of Virginia Computer Science
ferrer@virginia.edu | http://www.cs.virginia.edu/~gjf2a/
Opinions expressed herein are mine, or so I'm told...
More information about the Gcc-bugs
mailing list