[Bug c++/45657] Wrongly computed exception specification for destructor

2010-09-13 Thread jason at gcc dot gnu dot org
--- 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:

[Bug c++/45657] Wrongly computed exception specification for destructor

2010-09-13 Thread redi at gcc dot gnu dot org
--- 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 ---

[Bug c++/45657] Wrongly computed exception specification for destructor

2010-09-13 Thread schaub-johannes at web dot de
--- 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

[Bug c++/45657] Wrongly computed exception specification for destructor

2010-09-13 Thread redi at gcc dot gnu dot org
--- 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