Re: [C++ Patch] PR 56871

2013-04-08 Thread Jason Merrill
OK. Jason

Re: [C++ Patch] PR 56871

2013-04-08 Thread Paolo Carlini
... I think that by the time we do the check, if old_decl is a FUNCTION_DECL we can safely assume that new_decl is also a FUNCTION_DECL, thus I can simplify the code. I'm finishing testing the below variant. Thanks Paolo. /// Index: cp/decl.c ==

[C++ Patch] PR 56871

2013-04-08 Thread Paolo Carlini
Hi, seems an easy issue: we aren't allowing an explicit specializations differing from the template declaration with respect to the constexpr specifier. Tested x86_64-linux. Thanks, Paolo. // /cp 2013-04-08 Paolo Carlini PR c++/56871 * decl.c (validat