public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46369] [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref
2010-11-08 14:52 [Bug c++/46369] New: [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref rguenth at gcc dot gnu.org
@ 2010-11-08 14:52 ` rguenth at gcc dot gnu.org
2010-11-08 19:12 ` hjl.tools at gmail dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-08 14:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46369
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/46369] New: [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref
@ 2010-11-08 14:52 rguenth at gcc dot gnu.org
2010-11-08 14:52 ` [Bug c++/46369] " rguenth at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-08 14:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46369
Summary: [4.6 Regression] ICE: unexpected expression
'((unsigned char*)&*r)[24]' of kind bit_field_ref
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: rguenth@gcc.gnu.org
Target: i?86-*-linux
Created attachment 22325
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22325
preprocessed source
The package yast2-hardware-detection-2.17.1 fails with
> ./cc1plus -quiet ~/HwParse.ii -m32 -std=c++0x
HwParse.cc: In member function 'YCPMap HwProbe::resource_type2map(const
res_any_t*, const char**)':
HwParse.cc:219:71: internal compiler error: unexpected expression '((unsigned
char*)&*r)[24]' of kind bit_field_ref
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/46369] [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref
2010-11-08 14:52 [Bug c++/46369] New: [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref rguenth at gcc dot gnu.org
2010-11-08 14:52 ` [Bug c++/46369] " rguenth at gcc dot gnu.org
@ 2010-11-08 19:12 ` hjl.tools at gmail dot com
2010-11-11 0:07 ` jason at gcc dot gnu.org
2010-11-11 3:22 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-08 19:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46369
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.11.08 19:12:04
CC| |jason at redhat dot com
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-08 19:12:04 UTC ---
It is introduced by revision 166167:
http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00053.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/46369] [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref
2010-11-08 14:52 [Bug c++/46369] New: [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref rguenth at gcc dot gnu.org
2010-11-08 14:52 ` [Bug c++/46369] " rguenth at gcc dot gnu.org
2010-11-08 19:12 ` hjl.tools at gmail dot com
@ 2010-11-11 0:07 ` jason at gcc dot gnu.org
2010-11-11 3:22 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2010-11-11 0:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46369
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-11 00:06:38 UTC ---
Author: jason
Date: Thu Nov 11 00:06:34 2010
New Revision: 166576
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166576
Log:
PR c++/46369
* semantics.c (cxx_eval_bit_field_ref): New.
(cxx_eval_constant_expression): Call it.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-bitfield.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/46369] [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref
2010-11-08 14:52 [Bug c++/46369] New: [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref rguenth at gcc dot gnu.org
` (2 preceding siblings ...)
2010-11-11 0:07 ` jason at gcc dot gnu.org
@ 2010-11-11 3:22 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2010-11-11 3:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46369
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution| |FIXED
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-11 03:22:34 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-11-11 3:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-08 14:52 [Bug c++/46369] New: [4.6 Regression] ICE: unexpected expression '((unsigned char*)&*r)[24]' of kind bit_field_ref rguenth at gcc dot gnu.org
2010-11-08 14:52 ` [Bug c++/46369] " rguenth at gcc dot gnu.org
2010-11-08 19:12 ` hjl.tools at gmail dot com
2010-11-11 0:07 ` jason at gcc dot gnu.org
2010-11-11 3:22 ` jason 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).