This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/44367] -O0 -g wrong DW_AT_location on c++ class retval
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2010 19:55:51 -0000
- Subject: [Bug debug/44367] -O0 -g wrong DW_AT_location on c++ class retval
- References: <bug-44367-12292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from jakub at gcc dot gnu dot org 2010-06-02 19:55 -------
Subject: Bug 44367
Author: jakub
Date: Wed Jun 2 19:55:33 2010
New Revision: 160187
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160187
Log:
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.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cvt.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44367