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 middle-end/42183] [4.5 Regression] internal compiler error: verify_stmts failed



------- Comment #7 from rguenth at gcc dot gnu dot org  2009-11-28 19:11 -------
Subject: Bug 42183

Author: rguenth
Date: Sat Nov 28 19:11:22 2009
New Revision: 154728

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

        PR tree-optimization/42183
        * tree-nrv.c (tree_nrv): Bail out if the RESULT_DECL has its
        address taken.  Merge the addressable state of the NRV
        variable and the result instead of copying it.

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

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


-- 


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


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