This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug report: internal compiler error on (incorrect) array initialization
- To: bug-gcc at gnu dot org
- Subject: Bug report: internal compiler error on (incorrect) array initialization
- From: John Schavemaker <Schavemaker at fel dot tno dot nl>
- Date: Wed, 31 May 2000 13:09:45 +0200
- Organization: TNO-FEL
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