This is the mail archive of the gcc-prs@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]

Re: c++/3100: fails to compile syntactically correct code


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


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