* call.c (compare_qual): Handle pmfs.

From-SVN: r15500
This commit is contained in:
Jason Merrill 1997-09-16 22:44:13 +00:00 committed by Jason Merrill
parent 255fe733b3
commit 549121cd61
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,7 @@
Tue Sep 16 14:06:56 1997 Jason Merrill <jason@yorick.cygnus.com>
* call.c (compare_qual): Handle pmfs.
* decl.c (store_parm_decls): last_parm_cleanup_insn is the insn
after the exception spec.

View File

@ -5603,6 +5603,11 @@ compare_qual (ics1, ics2)
tree to1 = TREE_TYPE (ics1);
tree to2 = TREE_TYPE (ics2);
if (TYPE_PTRMEMFUNC_P (to1))
to1 = TYPE_PTRMEMFUNC_FN_TYPE (to1);
if (TYPE_PTRMEMFUNC_P (to2))
to2 = TYPE_PTRMEMFUNC_FN_TYPE (to2);
to1 = TREE_TYPE (to1);
to2 = TREE_TYPE (to2);