public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46001] New: [4.6 Regression] diagnostic refers to type '__java_boolean'
@ 2010-10-13 11:22 redi at gcc dot gnu.org
  2010-10-27 22:01 ` [Bug c++/46001] " pinskia at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2010-10-13 11:22 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] diagnostic refers to type
                    '__java_boolean'
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org


struct S
{
  char* p;
  unsigned char f : 1;
};

struct S s;
void* a = s.p | s.f;

4.6 gives:

jb.cc:8:19: error: invalid operands of types 'char*' and '__java_boolean' to
binary 'operator|'

previous versions give the expected error:

jb.cc:8:19: error: invalid operands of types 'char*' and 'unsigned char:1' to
binary 'operator|'


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

end of thread, other threads:[~2010-12-10 20:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 11:22 [Bug c++/46001] New: [4.6 Regression] diagnostic refers to type '__java_boolean' redi at gcc dot gnu.org
2010-10-27 22:01 ` [Bug c++/46001] " pinskia at gcc dot gnu.org
2010-10-27 22:58 ` pinskia at gcc dot gnu.org
2010-11-03 14:41 ` jakub at gcc dot gnu.org
2010-11-15 12:22 ` rguenth at gcc dot gnu.org
2010-12-10 19:42 ` jakub at gcc dot gnu.org
2010-12-10 20:08 ` jakub at gcc dot gnu.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).