diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-11-14 05:45:45 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2005-11-14 05:45:45 +0000 |
commit | e1f0e7a6a714a128d9c15fe4050bcc7f0f88e865 (patch) | |
tree | 738e589900c87a98ca78f85d831b4bd4e50600d4 /gcc/loop-invariant.c | |
parent | c748a2c7c5916c839414d2e78ce1a802dd07150f (diff) | |
download | gcc-e1f0e7a6a714a128d9c15fe4050bcc7f0f88e865.zip gcc-e1f0e7a6a714a128d9c15fe4050bcc7f0f88e865.tar.gz gcc-e1f0e7a6a714a128d9c15fe4050bcc7f0f88e865.tar.bz2 |
re PR c++/24817 (g++ accepts multiple function template declarations even if exception-specification doesn't match.)
PR c++/24817
* decl.c (check_redeclaration_exception_specification): New
function.
(duplicate_decls): Use it.
* error.c (fndecl_to_string): Print the template parameter list.
PR c++/24817
* g++.dg/eh/spec8.C: New test.
From-SVN: r106884
Diffstat (limited to 'gcc/loop-invariant.c')
0 files changed, 0 insertions, 0 deletions