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
* [Bug c++/46001] [4.6 Regression] diagnostic refers to type '__java_boolean'
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 ` pinskia at gcc dot gnu.org
2010-10-27 22:58 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-27 22:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46001
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.10.27 22:00:45
Ever Confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-27 22:00:45 UTC ---
Confirmed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46001] [4.6 Regression] diagnostic refers to type '__java_boolean'
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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-27 22:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46001
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46001] [4.6 Regression] diagnostic refers to type '__java_boolean'
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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-03 14:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46001
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-03 14:41:07 UTC ---
Created attachment 22253
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22253
gcc46-pr46001.patch
Caused by my PR43516 patch -
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158062
Untested fix attached.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46001] [4.6 Regression] diagnostic refers to type '__java_boolean'
2010-10-13 11:22 [Bug c++/46001] New: [4.6 Regression] diagnostic refers to type '__java_boolean' redi at gcc dot gnu.org
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-15 12:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46001
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46001] [4.6 Regression] diagnostic refers to type '__java_boolean'
2010-10-13 11:22 [Bug c++/46001] New: [4.6 Regression] diagnostic refers to type '__java_boolean' redi at gcc dot gnu.org
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-10 19:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46001
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-10 19:41:52 UTC ---
Author: jakub
Date: Fri Dec 10 19:41:48 2010
New Revision: 167698
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167698
Log:
PR c++/46001
* decl.c (record_builtin_java_type): Call build_distinct_type_copy
on build_nonstandard_integer_type result for __java_* types.
* g++.dg/diagnostic/bitfld1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/diagnostic/bitfld1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/46001] [4.6 Regression] diagnostic refers to type '__java_boolean'
2010-10-13 11:22 [Bug c++/46001] New: [4.6 Regression] diagnostic refers to type '__java_boolean' redi at gcc dot gnu.org
` (4 preceding siblings ...)
2010-12-10 19:42 ` jakub at gcc dot gnu.org
@ 2010-12-10 20:08 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-12-10 20:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46001
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-10 20:08:34 UTC ---
Fixed.
^ 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).