This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[971031] Internal error persists
- To: egcs-bugs at cygnus dot com
- Subject: [971031] Internal error persists
- From: Hyman Rosen <hymie at prolifics dot com>
- Date: Mon, 3 Nov 1997 13:07:43 -0500
I belive this has been reported before. The following code results in
/egcs/include/g++/algobase.h: In function `struct a * __uninitialized_fill_n_aux<a *, int, a>(struct a *, int, const struct a &, struct __false_type)':
/egcs/include/g++/algobase.h:683: Internal compiler error.
/egcs/include/g++/algobase.h:683: 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());
}