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/34465] [4.3 Regression] incorrect sharing of tree nodes



------- Comment #6 from aldyh at gcc dot gnu dot org  2008-01-04 14:50 -------
Subject: Bug 34465

Author: aldyh
Date: Fri Jan  4 14:49:28 2008
New Revision: 131323

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131323
Log:
        PR tree-optimization/34448
        PR tree-optimization/34465
        * gimplify.c (gimplify_init_constructor): Add new parameter
        notify_temp_creation.  Use it.
        (gimplify_modify_expr_rhs): Take volatiles into account when
        optimizing constructors.
        Do not optimize constructors if gimplify_init_constructor will dump to
        memory.
        * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
        * gcc.c-torture/compile/pr34448.c: New.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr34448.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/pr32901.c


-- 


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


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