------- Comment #1 from rguenth at gcc dot gnu dot org 2006-09-28 11:14 ------- Works for me on i686-linux with all versions. Also the code in question is invalid:
t.C:9: error: '::main' must return 'int' t.C: In function 'int main()': t.C:11: error: uninitialized const 'y' t.C:12: error: passing 'const Y' as 'this' argument of 'void Y::f()' discards qualifiers -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|other |c++ Keywords| |ice-on-invalid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29260