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

Re: C++ PATCH to fix a part of c++/70513 (ICE-on-invalid with enums)


On 04/21/2016 07:35 AM, Marek Polacek wrote:
+	      permerror (type_start_token->location,
+			 "extra qualification not allowed");
+	      type = error_mark_node;

If we're using permerror, we shouldn't set type to error_mark_node; if we do that, -fpermissive won't make it work.

Jason


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