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]

[971031] Internal error persists


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());
}


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