This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37719] incorrect type on warning of mismatched exception specification with templates
- From: "paolo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2008 16:30:31 -0000
- Subject: [Bug c++/37719] incorrect type on warning of mismatched exception specification with templates
- References: <bug-37719-16643@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from paolo at gcc dot gnu dot org 2008-10-03 16:30 -------
Subject: Bug 37719
Author: paolo
Date: Fri Oct 3 16:29:07 2008
New Revision: 140855
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140855
Log:
/cp
2008-10-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37719
* error.c (dump_function_decl): Save the exceptions in case of
error about incompatible specifications in a specialization.
/testsuite
2008-10-03 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37719
* g++.dg/template/error36.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/error36.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/error.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37719