This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/35909] [4.4 Regression] ICE with bit-field and const references



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]