From mboxrd@z Thu Jan 1 00:00:00 1970 From: aoliva@gcc.gnu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, ofv@wanadoo.es Subject: Re: c++/3100: fails to compile syntactically correct code Date: Sat, 09 Jun 2001 14:53:00 -0000 Message-id: <20010609215334.21273.qmail@sourceware.cygnus.com> X-SW-Source: 2001-06/msg00348.html List-Id: Synopsis: fails to compile syntactically correct code State-Changed-From-To: open->analyzed State-Changed-By: aoliva State-Changed-When: Sat Jun 9 14:53:33 2001 State-Changed-Why: No matter how much it might seem that GCC is right, it parses the new-expression incorrectly. It is parsing it as: new ((MyClass*)[10]) but the correct parse would have been: (new (MyClass*))[10] http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3100&database=gcc