c++/564: gcc 2.95.2 does not allocate array of class

Pavel.Kudrna@mff.cuni.cz Pavel.Kudrna@mff.cuni.cz
Fri Sep 22 13:16:00 GMT 2000


>Number:         564
>Category:       c++
>Synopsis:       gcc 2.95.2 does not allocate array of class
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 22 13:16:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Kudrna
>Release:        gcc version 2.95.2 19991024 (release-2)
>Organization:
>Environment:
Cygwin 1.1.2 on WinNT Ver 4.0 build 1381 Service Pack 6
>Description:
Can not create array of variables of simple class using
"new" operator if constructor exists and if array size
is simple expression.
>How-To-Repeat:
$ g++ -c abc.cpp

abc.cpp:15: sorry, not implemented: initializer contains unrecognized tree code
abc.cpp:23: sorry, not implemented: initializer contains unrecognized tree code
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list