]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR debug/39086 (ICE in decl_ultimate_origin, at dwarf2out.c:5770 when compiling...
authorJason Merrill <jason@redhat.com>
Wed, 11 Mar 2009 05:01:30 +0000 (01:01 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 11 Mar 2009 05:01:30 +0000 (01:01 -0400)
commit7716876bbd3ac0bb0f520105612da96883dc085d
tree04676e346137008a23915b8a6560a1db577b4ccd
parent874b0a9e6218d3645897c3b94c5c73d65d1754e4
re PR debug/39086 (ICE in decl_ultimate_origin, at dwarf2out.c:5770 when compiling with -fno-tree-sra)

        PR debug/39086
        * tree-nrv.c (tree_nrv): Don't do this optimization if the front
        end already did.  Notice GIMPLE_CALL modifications of the result.
        Don't copy debug information from an ignored decl or a decl from
        another function.

From-SVN: r144772
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/nrv15.C [new file with mode: 0644]
gcc/tree-nrv.c