This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[971105] Internal error persists
- To: egcs-bugs at cygnus dot com
- Subject: [971105] Internal error persists
- From: Hyman Rosen <hymie at prolifics dot com>
- Date: Thu, 6 Nov 1997 15:10:38 -0500
Compiling the following code with 'g++ -O' (still) gives
/egcs/include/g++/stl_uninitialized.h: In function `struct a * __uninitialized_fill_n_aux<a *, int, a>(struct a *, int, const struct a &, struct __false_type)':
/egcs/include/g++/stl_uninitialized.h:175: Internal compiler error.
/egcs/include/g++/stl_uninitialized.h:175: Please submit a full bug report to `egcs-bugs@cygnus.com'.
#include <algobase.h>
struct a { int b; a() : b(0) { } };
int main()
{
a d[3];
uninitialized_fill_n(d, 3, a());
}