Commit 8885e914 by Jason Merrill Committed by Jason Merrill

* cp-tree.h (LANG_DECL_FN_CHECK): Fix non-checking version.

From-SVN: r149239
parent d5b7dccd
2009-07-04 Jason Merrill <jason@redhat.com>
* cp-tree.h (LANG_DECL_FN_CHECK): Fix non-checking version.
PR c++/40619
* cp-tree.h (struct lang_decl_parm): New.
(struct lang_decl): Add it.
......
......@@ -1741,7 +1741,7 @@ struct GTY(()) lang_decl {
(&DECL_LANG_SPECIFIC (NODE)->u.min)
#define LANG_DECL_FN_CHECK(NODE) \
(&DECL_LANG_SPECIFIC (NODE)->u.fn)
(&DECL_LANG_SPECIFIC (STRIP_TEMPLATE (NODE))->u.fn)
#define LANG_DECL_NS_CHECK(NODE) \
(&DECL_LANG_SPECIFIC (NODE)->u.ns)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment