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 tree-optimization/40081] verify_stmts failed with -O2



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-05-10 10:16 -------
Subject: Bug 40081

Author: rguenth
Date: Sun May 10 10:16:01 2009
New Revision: 147330

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

        PR tree-optimization/40081
        * tree-sra.c (instantiate_element): Instantiate scalar replacements
        using the main variant of the element type.  Do not fiddle with
        TREE_THIS_VOLATILE or TREE_SIDE_EFFECTS.

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

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


-- 


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


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