--- Comment #4 from jason at gcc dot gnu dot org 2010-09-13 18:35 ---
I'm sure this was fixed by my work on implicitly deleted functions, which
involved rewriting the calculation of exception specifications for implicitly
declared functions.
--
jason at gcc dot gnu dot org changed:
--- Comment #3 from redi at gcc dot gnu dot org 2010-09-13 17:06 ---
Jason, do you know if this was fixed as part of your noexcept work, or is it
still latent in trunk?
--
redi at gcc dot gnu dot org changed:
What|Removed |Added
---
--- Comment #2 from schaub-johannes at web dot de 2010-09-13 17:02 ---
Great(In reply to comment #1)
> Not a regression, and G++ 4.6 correctly rejects it:
>
> pr.cc:12:8: error: looser throw specifier for 'virtual Derived::~Derived()
> throw (Viral::Dose)'
> pr.cc:9:11: error: overrid
--- Comment #1 from redi at gcc dot gnu dot org 2010-09-13 16:55 ---
Not a regression, and G++ 4.6 correctly rejects it:
pr.cc:12:8: error: looser throw specifier for 'virtual Derived::~Derived()
throw (Viral::Dose)'
pr.cc:9:11: error: overriding 'virtual Base::~Base() throw ()'
EDG