This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix debuginfo after tree_nrv


On Mon, Jul 5, 2010 at 19:32, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> As noted by Honza, tree_nrv doesn't play very well with debuginfo (the
> optimized away variable has no location).
>
> This patch fixes it, bootstrapped/regtested on x86_64-linux and i686-linux.
> Ok for trunk?
>
> 2010-07-05 ÂJakub Jelinek Â<jakub@redhat.com>
>
> Â Â Â Â* tree-nrv.c (tree_nrv): Set DECL_VALUE_EXPR on found to result.
>
> Â Â Â Â* gcc.dg/guality/nrv-1.c: New test.

OK.


Diego.


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