public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51414] New: Broken diagnostic with invalid use of __underlying_type
@ 2011-12-04 22:11 reichelt at gcc dot gnu.org
  2011-12-04 23:08 ` [Bug c++/51414] " manu at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-12-04 22:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51414

             Bug #: 51414
           Summary: Broken diagnostic with invalid use of
                    __underlying_type
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


A broken diagnostic is generated on trunk for the following invalid code
snippet:

==============================
__underlying_type(int[1]) i;
==============================

bug.cc:1:25: error: '#'array_type' not supported by dump_expr#<expression
error>' is not an enumeration type
bug.cc:1:28: error: invalid type in declaration before ';' token


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

end of thread, other threads:[~2011-12-05 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-04 22:11 [Bug c++/51414] New: Broken diagnostic with invalid use of __underlying_type reichelt at gcc dot gnu.org
2011-12-04 23:08 ` [Bug c++/51414] " manu at gcc dot gnu.org
2011-12-05 10:47 ` paolo.carlini at oracle dot com
2011-12-05 18:22 ` paolo at gcc dot gnu.org
2011-12-05 18:23 ` paolo.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).