------- Comment #5 from rguenth at gcc dot gnu dot org  2009-04-11 10:20 -------
Subject: Bug 39732

Author: rguenth
Date: Sat Apr 11 10:19:55 2009
New Revision: 145954

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=145954
Log:
2009-04-11  Richard Guenther  <rguent...@suse.de>

        PR middle-end/39732
        * tree-inline.c (declare_return_variable): Mark DECL_BY_REFERENCE
        return variables as TREE_ADDRESSABLE.

        * g++.dg/torture/pr39732.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr39732.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39732

Reply via email to