public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/33492] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr Date: Wed, 19 Sep 2007 06:39:00 -0000 [thread overview] Message-ID: <bug-33492-1771@http.gcc.gnu.org/bugzilla/> (raw) The C++ frontend generates a broken diagnostic for the following code snippet since GCC 3.4.0: ======================= void foo() { if (throw 0) ; } ======================= bug.cc: In function 'void foo()': bug.cc:3: error: could not convert 'throw((__cxa_allocate_exception(4u), #'must_not_throw_expr' not supported by dump_expr#<expression error>), __cxa_throw(<anonymous>, ((void*)(& _ZTIi)), 0u))' to 'bool' The "'must_not_throw_expr' not supported by dump_expr" is not implemented, and the rest of the error message isn't very helpful either. -- Summary: [4.1/4.2/4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33492
next reply other threads:[~2007-09-19 6:39 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-09-19 6:39 reichelt at gcc dot gnu dot org [this message] 2007-09-19 6:40 ` [Bug c++/33492] " reichelt at gcc dot gnu dot org 2007-09-28 4:09 ` mmitchel at gcc dot gnu dot org 2007-11-04 0:45 ` pcarlini at suse dot de 2008-07-04 22:17 ` [Bug c++/33492] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org 2009-02-12 15:22 ` paolo dot carlini at oracle dot com 2009-03-06 23:52 ` paolo at gcc dot gnu dot org 2009-03-06 23:53 ` [Bug c++/33492] [4.2/4.3 " paolo dot carlini at oracle dot com 2009-04-21 16:02 ` jakub at gcc dot gnu dot org 2009-07-22 10:33 ` jakub at gcc dot gnu dot org 2009-10-15 12:56 ` jakub at gcc dot gnu dot org 2009-12-15 16:36 ` [Bug c++/33492] [4.3 " rguenth at gcc dot gnu dot org 2009-12-26 13:52 ` paolo dot carlini at oracle dot com 2009-12-26 21:49 ` paolo dot carlini at oracle dot com
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-33492-1771@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).