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

2008-04-15 Thread pinskia at gcc dot gnu dot org
--- 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

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

2008-04-12 Thread pinskia 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