PR c++/35219
* cp-tree.h: Fix DECL_NONSTATIC_MEMBER_P to handle member template
functions.
From-SVN: r141612
+2008-11-05 Fabien Chene <fabien.chene@gmail.com>
+
+ PR c++/35219
+ * cp-tree.h: Fix DECL_NONSTATIC_MEMBER_P to handle member template
+ functions.
+
2008-11-05 Richard Guenther <rguenther@suse.de>
PR middle-end/37742
/* Nonzero for a DECL means that this member is a non-static member. */
#define DECL_NONSTATIC_MEMBER_P(NODE) \
- ((TREE_CODE (NODE) == FUNCTION_DECL \
- && DECL_NONSTATIC_MEMBER_FUNCTION_P (NODE)) \
+ (DECL_NONSTATIC_MEMBER_FUNCTION_P (NODE) \
|| TREE_CODE (NODE) == FIELD_DECL)
/* Nonzero for _DECL means that this member object type
+2008-11-05 Fabien Chene <fabien.chene@gmail.com>
+
+ PR c++/32519
+ * g++.dg/template/pr32519.C: New test.
+
2008-11-05 Richard Guenther <rguenther@suse.de>
PR middle-end/37742