This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46001] New: [4.6 Regression] diagnostic refers to type '__java_boolean'
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Oct 2010 11:22:19 +0000
- Subject: [Bug c++/46001] New: [4.6 Regression] diagnostic refers to type '__java_boolean'
- Auto-submitted: auto-generated
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|'