This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24817] [3.4/4.0/4.1 Regression] g++ accepts multiple function template declarations even if exception-specification doesn't match.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2005 02:57:54 -0000
- Subject: [Bug c++/24817] [3.4/4.0/4.1 Regression] g++ accepts multiple function template declarations even if exception-specification doesn't match.
- References: <bug-24817-2491@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-12 02:57 -------
Confirmed, related to PR 13699 and PR 12255.
The first part of the testcase is rejected in 2.95.3. The second part is not
really a regression.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |3.0.4 3.4.0 3.2.3 3.3.3
| |4.0.0 4.1.0
Known to work| |2.95.3
Last reconfirmed|0000-00-00 00:00:00 |2005-11-12 02:57:54
date| |
Summary|g++ accepts multiple |[3.4/4.0/4.1 Regression] g++
|function template |accepts multiple function
|declarations even if |template declarations even
|exception-specification |if exception-specification
|doesn't match. |doesn't match.
Target Milestone|--- |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24817