method.c
30 KB
-
method.c (do_build_assign_ref): Don't use build_modify_expr for anonymous aggregates... · a1c2b86d
* method.c (do_build_assign_ref): Don't use build_modify_expr for anonymous aggregates, since they don't have assignment operator method. * decl.c (fixup_anonymous_aggr): Disallow ctors, dtors and copy assignment operators for anonymous structure fields. * g++.old-deja/g++.other/anon8.C: New test. From-SVN: r40746
Jakub Jelinek committed