public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33492]  New: [4.1/4.2/4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr
@ 2007-09-19  6:39 reichelt at gcc dot gnu dot org
  2007-09-19  6:40 ` [Bug c++/33492] " reichelt at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-09-19  6:39 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-12-26 21:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-19  6:39 [Bug c++/33492] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'must_not_throw_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
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

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).