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]

bug report


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... 



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