c++/268: Re: Bug report: internal compiler error on (incorrect) array initialization

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed May 31 10:36:00 GMT 2000


>Number:         268
>Category:       c++
>Synopsis:       Bug report: internal compiler error on (incorrect) array initialization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          analyzed
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Wed May 31 10:36:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     John Schavemaker <Schavemaker@fel.tno.nl>
>Release:        2.95.2
>Organization:
TNO-FEL
>Environment:
>Description:
 Original-Message-ID: <3934F2F9.B7C5B6EC@fel.tno.nl>
 Date: Wed, 31 May 2000 13:09:45 +0200
 


 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

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-prs mailing list