--- Comment #4 from pinskia at gcc dot gnu dot org 2008-04-15 08:57 ---
It did work with:
GNU C++ (GCC) version 4.3.0 20080128 (experimental) [trunk revision 131899]
(i386-apple-darwin8.10.1)
But fails with:
GNU C++ (GCC) version 4.4.0 20080304 (experimental) [trunk revision 132852]
(i38
--- 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