This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18901] Type of 'new (T*) [n]'
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2005 03:20:09 -0000
- Subject: [Bug c++/18901] Type of 'new (T*) [n]'
- References: <20041209100220.18901.wolfgang.roehrl@gi-de.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-17 03:20 -------
GCC is correct to reject new (T*)[n]. GCC is also correct to say the type of new T*[n] is T**.
Though ICC accepts both of them.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18901