This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/44367] -O0 -g wrong DW_AT_location on c++ class retval



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]