]> gcc.gnu.org Git - gcc.git/commit
call.c (conditional_conversion): Don't build BASE_CONVs for conversions between thing...
authorMark Mitchell <mark@codesourcery.com>
Wed, 28 Jul 1999 08:20:09 +0000 (08:20 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 28 Jul 1999 08:20:09 +0000 (08:20 +0000)
commit4f0aa41654923b227eae756fec96308c0e53ef47
treeec3157e90ada3b76e2cacb25e81cf9dda4a08fd8
parentf66bbb410c40ea0a010329ecacb56b8214853d26
call.c (conditional_conversion): Don't build BASE_CONVs for conversions between things that have the same type.

* call.c (conditional_conversion): Don't build BASE_CONVs for
conversions between things that have the same type.
(build_conditional_expr): Tweak.
(convert_like): Some BASE_CONVs really do require the generation
of code.

* init.c (perform_member_init): Don't go through build_modify_expr
for simple initializations.

From-SVN: r28310
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/init.c
gcc/testsuite/g++.old-deja/g++.other/cond2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/init14.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.other/ref3.C [new file with mode: 0644]
This page took 0.061653 seconds and 5 git commands to generate.