[Bug c++/45657] Wrongly computed exception specification for destructor
--- 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 (Comeau online) also accepts it. -- redi at gcc dot gnu dot org changed: What|Removed |Added Keywords||accepts-invalid Known to work||4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45657
[Bug c++/45657] Wrongly computed exception specification for destructor
--- 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: overriding 'virtual Base::~Base() throw ()' EDG (Comeau online) also accepts it. Great, thanks for checking on 4.6. Can we mark it as resolved? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45657
[Bug c++/45657] Wrongly computed exception specification for destructor
--- 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 CC||jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45657
[Bug c++/45657] Wrongly computed exception specification for destructor
--- 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: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45657