From: jakub Date: Wed, 2 Jun 2010 19:57:08 +0000 (+0000) Subject: PR c++/44361 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab1d926939fc0f27973dedd6ecf67ea6781ff57;p=thirdparty%2Fgcc.git PR c++/44361 * cvt.c (convert_to_void): If implicit is NULL, call mark_rvalue_use instead of calling mark_exp_read only when not an assignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160188 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index b09d7e9d0d7b..48a4613b4771 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -5,10 +5,9 @@ (decl_shadowed_for_var_lookup, decl_shadowed_for_var_insert): Adjust. (init_shadowed_var_for_decl): Adjust initialization. - PR debug/44367 - * semantics.c (finalize_nrv): Don't copy DECL_ARTIFICIAL, DECL_IGNORED_P, - DECL_SOURCE_LOCATION and DECL_ABSTRACT_ORIGIN from var to result. - Set DECL_VALUE_EXPR on var. + PR c++/44361 + * cvt.c (convert_to_void): If implicit is NULL, call mark_rvalue_use + instead of calling mark_exp_read only when not an assignment. PR debug/44367 * semantics.c (finalize_nrv): Don't copy DECL_ARTIFICIAL, DECL_IGNORED_P,