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] PR 58584


On 10/02/2013 09:02 PM, Paolo Carlini wrote:
-      save_template_attributes (&attributes, decl);
+      if (attributes != error_mark_node)
+	save_template_attributes (&attributes, decl);

I'd rather make save_template_attributes handle error_mark_node appropriately.

+  if (attributes != error_mark_node)
+    cp_check_const_attributes (attributes);

Likewise.

Jason


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