This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35909] [4.4 Regression] ICE with bit-field and const references
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Apr 2008 22:03:39 -0000
- Subject: [Bug c++/35909] [4.4 Regression] ICE with bit-field and const references
- References: <bug-35909-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-04-12 22:03 -------
Reduced testcase:
struct MidiCommand
{
unsigned data1 : 8;
};
void g(const unsigned char &);
void f(MidiCommand mc)
{
g(mc.data1);
}
----- CUT ---
And I was wrong, it is not related to that PR.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to work|4.3.0 |
Last reconfirmed|0000-00-00 00:00:00 |2008-04-12 22:03:37
date| |
Summary|[4.3/4.4 Regression] ice for|[4.4 Regression] ICE with
|legal code |bit-field and const
| |references
Target Milestone|4.3.1 |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35909