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 ==