public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/50043] [C++0x] Implement core/1123 Date: Fri, 23 Mar 2012 23:01:00 -0000 [thread overview] Message-ID: <bug-50043-4-DZwjp2MlpB@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-50043-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50043 Paolo Carlini <paolo.carlini at oracle dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot |gnu.org |com Target Milestone|--- |4.8.0 --- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-03-23 22:48:59 UTC --- The latter issue could be addressed by something like: Index: decl.c =================================================================== --- decl.c (revision 185715) +++ decl.c (working copy) @@ -1136,7 +1136,10 @@ check_redeclaration_exception_specification (tree if ((pedantic || ! DECL_IN_SYSTEM_HEADER (old_decl)) && ! DECL_IS_BUILTIN (old_decl) && flag_exceptions - && !comp_except_specs (new_exceptions, old_exceptions, ce_normal)) + && !comp_except_specs (new_exceptions, old_exceptions, ce_normal) + && !(DECL_DESTRUCTOR_P (new_decl) + && cxx_dialect >= cxx0x + && !new_exceptions && TYPE_NOEXCEPT_P (old_type))) { error ("declaration of %qF has a different exception specifier", new_decl);
next prev parent reply other threads:[~2012-03-23 22:49 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-11 9:23 [Bug c++/50043] New: " paolo.carlini at oracle dot com 2012-02-21 11:55 ` [Bug c++/50043] " mimomorin at gmail dot com 2012-02-21 12:12 ` redi at gcc dot gnu.org 2012-02-22 2:48 ` mimomorin at gmail dot com 2012-03-23 1:07 ` paolo.carlini at oracle dot com 2012-03-23 1:35 ` paolo.carlini at oracle dot com 2012-03-23 18:03 ` paolo.carlini at oracle dot com 2012-03-23 18:45 ` paolo.carlini at oracle dot com 2012-03-23 23:01 ` paolo.carlini at oracle dot com [this message] 2012-03-28 10:06 ` paolo.carlini at oracle dot com 2012-04-02 0:14 ` paolo at gcc dot gnu.org 2012-04-02 0:20 ` paolo.carlini at oracle dot com 2012-04-12 0:11 ` paolo.carlini at oracle dot com 2012-06-11 10:29 ` redi at gcc dot gnu.org 2012-06-13 3:48 ` kirbyzhou@sogou-inc.com 2012-06-15 2:15 ` kirbyzhou@sogou-inc.com 2014-05-05 15:24 ` redi at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-50043-4-DZwjp2MlpB@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).