search.c (setup_class_bindings): Robustify.
authorMark Mitchell <mark@codesourcery.com>
Wed, 18 Aug 1999 22:11:10 +0000 (22:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 18 Aug 1999 22:11:10 +0000 (22:11 +0000)
commitdfe2b0b3b51f0596fe3bd27a3adc8bf432babacd
tree48fb3c8d1567623241ba9fb85a5b10f1c3efc7d8
parent4ce3d5373035e991585e11d68a07c6e6e101eb92
search.c (setup_class_bindings): Robustify.

* search.c (setup_class_bindings): Robustify.
* typeck.c (common_type): Use same_type_p, not pointer equality,
to compare types.

From-SVN: r28756
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.pt/crash46.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/crash47.C [new file with mode: 0644]