re PR c++/5104 (template using std::set_terminate fails due to throw() qualifier...
authorJason Merrill <jason@redhat.com>
Wed, 3 Apr 2002 23:43:35 +0000 (18:43 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 3 Apr 2002 23:43:35 +0000 (18:43 -0500)
commitdffa4176aec81e6b81d355d99732be709d3bc8fe
tree69e4a662d2162898470b7ba451b541230b34c6a8
parent36c2272c905e791fa3241e7e26a02c2a322d95d7
re PR c++/5104 (template using std::set_terminate fails due to throw() qualifier in <exception>)

        PR c++/5104
        * typeck.c (comptypes) [FUNCTION_TYPE]: Don't compare exception
        specifiers.
        [METHOD_TYPE]: Use same code as FUNCTION_TYPE.

From-SVN: r51821
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.dg/eh/spec4.C [new file with mode: 0644]