summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b1250f1)
2010-05-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/43705
* call.c (build_new_method_call): Return error_mark_node if fns is
NULL_TREE.
/testsuite
2010-05-04 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/43705
* g++.dg/template/crash95.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159029
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-05-04 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/43705
+ * call.c (build_new_method_call): Return error_mark_node if fns is
+ NULL_TREE.
+
2010-05-03 Dodji Seketeli <dodji@redhat.com>
PR c++/43953
2010-05-03 Dodji Seketeli <dodji@redhat.com>
PR c++/43953
*fn_p = NULL_TREE;
if (error_operand_p (instance)
*fn_p = NULL_TREE;
if (error_operand_p (instance)
- || error_operand_p (fns))
+ || !fns || error_operand_p (fns))
return error_mark_node;
if (!BASELINK_P (fns))
return error_mark_node;
if (!BASELINK_P (fns))
+2010-05-04 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/43705
+ * g++.dg/template/crash95.C: New.
+
2010-05-04 H.J. Lu <hongjiu.lu@intel.com>
PR debug/43508
2010-05-04 H.J. Lu <hongjiu.lu@intel.com>
PR debug/43508
--- /dev/null
+// PR c++/43705
+
+template < typename > struct S
+{
+ template < > struct S < int > // { dg-error "explicit|specialization|template|parameter" }
+ {
+ S(int);
+ };
+};
+
+S < int > s(0);