Commit bfd6b23c by Jason Merrill Committed by Jason Merrill

* cp-tree.h (LANG_DECL_U2_CHECK): Check LANG_DECL_HAS_MIN.

From-SVN: r152329
parent 53a51cef
2009-09-30 Jason Merrill <jason@redhat.com>
* cp-tree.h (LANG_DECL_U2_CHECK): Check LANG_DECL_HAS_MIN.
2009-09-29 John Freeman <jfreeman08@gmail.com>
Jason Merrill <jason@redhat.com>
......
......@@ -1838,7 +1838,7 @@ struct GTY(()) lang_decl {
#define LANG_DECL_U2_CHECK(NODE, TF) __extension__ \
({ struct lang_decl *lt = DECL_LANG_SPECIFIC (NODE); \
if (lt->u.base.u2sel != TF) \
if (!LANG_DECL_HAS_MIN (NODE) || lt->u.base.u2sel != TF) \
lang_check_failed (__FILE__, __LINE__, __FUNCTION__); \
&lt->u.min.u2; })
......
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