Bug report: internal compiler error on (incorrect) array initialization
John Schavemaker
Schavemaker@fel.tno.nl
Wed May 31 04:12:00 GMT 2000
Bug report: internal compiler error on (incorrect) array initialization
$ cat yoho.cc
main()
{
int *a = new int[ 4 ] = { {1, 2}, {3, 4} };
}
$ g++ yoho.cc
yoho.cc: In function `int main()':
yoho.cc:4: Internal compiler error.
yoho.cc:4: Please submit a full bug report.
yoho.cc:4: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport >
for instructions.
$ g++ --version
2.95.2
$ uname -mrsv
Linux 2.2.7 #13 Tue Mar 7 10:30:20 CET 2000 i686
Hope this helps,
John Schavemaker
--
dr. J.G.M. Schavemaker
Electro-Optical Systems, TNO Physics and Electronics Laboratory
P.O. Box 96864 NL-2509 JG The Hague, The Netherlands
Phone: +31 70 374 0860 Fax: +31 70 374 0654 Email:
Schavemaker@fel.tno.nl
More information about the Gcc-bugs
mailing list