[Bug c++/19816] C++ front-end produces a cast instead of just &a.b (empty base class)

2010-09-13 Thread jason at gcc dot gnu dot org
--- Comment #3 from jason at gcc dot gnu dot org 2010-09-13 14:57 --- This isn't a bug. We produce a cast here because no field is generated for an empty base class. From class.c: /* We do not create a FIELD_DECL for empty base classes because it might overlap some other field. We wa

[Bug c++/19816] C++ front-end produces a cast instead of just &a.b (empty base class)

2010-09-09 Thread hubicka at gcc dot gnu dot org
--- Comment #2 from hubicka at gcc dot gnu dot org 2010-09-09 11:05 --- Hmm, my system compiles (4.3.2) gets: _Z1fv: .LFB2: subq$24, %rsp .LCFI0: leaq23(%rsp), %rdi call_ZN4baseC2Ev addq$24, %rsp ret .LFE2: this seems OK to me? -

[Bug c++/19816] C++ front-end produces a cast instead of just &a.b (empty base class)

2005-03-17 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-17 17:50 --- Confirmed -- What|Removed |Added Status|UNCONFIRMED |NEW Ev