-
- Downloads
re PR c++/11105 ([3.3/3.4 regression of sorts] ICE in mangle_conv_op_name_for_type)
PR c++/11105 * cp-tree.h (DECL_CONV_FN_TYPE): New method. * mangle.c (struct globals): Remove internal_mangling_p. (write_unqualified_name): Use DECL_CONV_FN_TYPE. (write_template_parm): Don't write out the level number. (conv_type_names): New variable. (hash_type): New function. (compare_type): Likewise. (mangle_conv_op_name_for_type): Don't try to mangle conversion operator names. * search.c (lookup_conversion_operator): New function. (lookup_fnfields_1): Use it. PR c++/11105 * g++.dg/abi/conv1.C: Remove it. * g++.dg/template/conv7.C: New test. * g++.dg/template/conv8.C: Likewise. * g++.old-deja/g++.ext/pretty2.C: Do not test __FUNCTION__ for a conversion operator. From-SVN: r68095
Showing
- gcc/cp/ChangeLog 15 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/cp-tree.h 5 additions, 0 deletionsgcc/cp/cp-tree.h
- gcc/cp/mangle.c 37 additions, 40 deletionsgcc/cp/mangle.c
- gcc/cp/search.c 119 additions, 74 deletionsgcc/cp/search.c
- gcc/testsuite/ChangeLog 9 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/abi/conv1.C 0 additions, 13 deletionsgcc/testsuite/g++.dg/abi/conv1.C
- gcc/testsuite/g++.dg/template/conv7.C 12 additions, 0 deletionsgcc/testsuite/g++.dg/template/conv7.C
- gcc/testsuite/g++.dg/template/conv8.C 12 additions, 0 deletionsgcc/testsuite/g++.dg/template/conv8.C
- gcc/testsuite/g++.old-deja/g++.ext/pretty2.C 1 addition, 3 deletionsgcc/testsuite/g++.old-deja/g++.ext/pretty2.C
Loading
Please register or sign in to comment