-
- Downloads
method.c (do_build_assign_ref): Don't use build_modify_expr for anonymous aggregates...
* 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
Showing
- gcc/cp/ChangeLog 8 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/decl.c 27 additions, 0 deletionsgcc/cp/decl.c
- gcc/cp/method.c 5 additions, 1 deletiongcc/cp/method.c
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.old-deja/g++.other/anon8.C 22 additions, 0 deletionsgcc/testsuite/g++.old-deja/g++.other/anon8.C
Loading
Please register or sign in to comment