OSDN Git Service

PR debug/44367
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jun 2010 19:52:07 +0000 (19:52 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 2 Jun 2010 19:52:07 +0000 (19:52 +0000)
commit93d0e758ba92bc644dc9b55c259baf9f6e2e9c24
treed7e122cc15138da7bd882493a8ba542065bf36b3
parentcc194b6e3a0bb9be324e211b2f5011ba34653d1e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160186 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c