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 53624


On 07/31/2012 12:42 AM, Jason Merrill wrote:
On 07/30/2012 06:26 PM, Paolo Carlini wrote:
+  if ((cxx_dialect == cxx98)
+      || (TREE_CODE (decl) != FUNCTION_DECL && is_primary))

We shouldn't do this check for non-primary templates in C++98 mode, either.
Yes. Thus the below also passes testing.

Thanks,
Paolo.

///////////////////////

Attachment: patch_53624_3
Description: Text document


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