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]
Other format: [Raw text]

[Bug c++/11228] [3.3/3.4 regression] ICE on new-expression using array operator new and default-initialization


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11228


bangerth@dealii.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-17 23:57:34
               date|                            |
            Summary|ICE on new-expression using |[3.3/3.4 regression] ICE on
                   |array operator new and      |new-expression using array
                   |default-initialization      |operator new and default-
                   |                            |initialization
   Target Milestone|3.4                         |3.3.1


------- Additional Comments From bangerth@dealii.org  2003-06-17 23:57 -------
Confirmed.

The code is illegal: initializers are not allowed by the standard for array-new
expressions. However, this is a gcc extension.

I thought, this extension was abandoned recently, maybe the infinite loop
is a remnant that wasn't entirely purged.

W.


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