tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE.
* tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE. * g++.old-deja/g++.oliva/template5.C: Remove XFAILs. From-SVN: r38302
This commit is contained in:
parent
b429fdf002
commit
221c7a7ff7
@ -1,3 +1,8 @@
|
||||
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
* tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of
|
||||
IS_AGGR_TYPE.
|
||||
|
||||
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
* pt.c (unify): Handle when both ARG and PARM are
|
||||
|
@ -1530,7 +1530,7 @@ no_linkage_helper (tp, walk_subtrees, data)
|
||||
tree t = *tp;
|
||||
|
||||
if (TYPE_P (t)
|
||||
&& (IS_AGGR_TYPE (t) || TREE_CODE (t) == ENUMERAL_TYPE)
|
||||
&& (CLASS_TYPE_P (t) || TREE_CODE (t) == ENUMERAL_TYPE)
|
||||
&& (decl_function_context (TYPE_MAIN_DECL (t))
|
||||
|| ANON_AGGRNAME_P (TYPE_IDENTIFIER (t))))
|
||||
return t;
|
||||
|
@ -1,3 +1,7 @@
|
||||
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
* g++.old-deja/g++.oliva/template5.C: Remove XFAILs.
|
||||
|
||||
2000-12-15 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
|
||||
|
||||
* g++.old-deja/g++.pt/ttp65.C: New test.
|
||||
|
@ -5,8 +5,6 @@
|
||||
// by Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
// simplified from bug report by Andrey Slepuhin <pooh@msu.ru>
|
||||
|
||||
// crash test - XFAIL *-*-*
|
||||
|
||||
template <typename> class X {
|
||||
template <typename> class Z;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user