public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35336]  New: Broken diagnostic: 'bit_field_ref' not supported by dump_expr
@ 2008-02-23 19:48 reichelt at gcc dot gnu dot org
  2008-03-04 20:00 ` [Bug c++/35336] " rguenth at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 19:48 UTC (permalink / raw)
  To: gcc-bugs

A broken diagnostic is issued for the following invalid code snippet since
at least GCC 2.95.3:

====================================================
struct A
{
  int i : 2;
};

void foo(bool b)
{
  A a;
  (a.i || b)();
}
====================================================

bug.cc: In function 'void foo(bool)':
bug.cc:9: error: '(((#'bit_field_ref' not supported by dump_expr#<expression
error> & 3u) != 0u) || b)' cannot be used as a function


-- 
           Summary: Broken diagnostic: 'bit_field_ref' not supported by
                    dump_expr
           Product: gcc
           Version: 4.4.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=35336


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

end of thread, other threads:[~2008-12-05 21:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 19:48 [Bug c++/35336] New: Broken diagnostic: 'bit_field_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
2008-03-04 20:00 ` [Bug c++/35336] " rguenth at gcc dot gnu dot org
2008-03-05 10:33 ` rguenth at gcc dot gnu dot org
2008-03-14 16:21 ` rguenth at gcc dot gnu dot org
2008-06-11 11:16 ` rguenth at gcc dot gnu dot org
2008-06-21 20:58 ` reichelt at gcc dot gnu dot org
2008-09-13  1:24 ` reichelt at gcc dot gnu dot org
2008-12-05 17:02 ` jakub at gcc dot gnu dot org
2008-12-05 21:13 ` jakub at gcc dot gnu dot org

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