------- Comment #2 from debian-gcc at lists dot debian dot org 2006-03-13 23:53 ------- It's not just a missing warning, it also changes behavior:
int& foo(nonpod_pack& n) {
return n.n.i; // this passes
}
int& foo(nonpod_pack2& p) {
return p.p.n.i; // this barfs
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26670
