Re: [C++ PATCH] Fix some DECL_BUILT_IN uses in C++ FE

2016-06-17 Thread Jason Merrill
OK. Jason

[C++ PATCH] Fix some DECL_BUILT_IN uses in C++ FE

2016-06-15 Thread Jakub Jelinek
Hi! I've noticed 3 spots in the C++ FE test just DECL_BUILT_IN and then immediately compare DECL_FUNCTION_CODE against BUILT_IN_* constants. That is only meaningful for BUILT_IN_NORMAL, while DECL_BUILT_IN macro is DECL_BUILT_IN_CLASS != NOT_BUILT_IN, so it also e.g. includes BUILT_IN_MD. If