------- Comment #5 from rguenth at gcc dot gnu dot org  2010-04-01 16:18 -------
Subject: Bug 43614

Author: rguenth
Date: Thu Apr  1 16:18:07 2010
New Revision: 157913

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

        PR middle-end/43614
        * tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
        and TREE_THIS_VOLATILE.
        (copy_ref_info): Likewise.
        * tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
        * tree.c (build6_stat): Ignore side-effects of all but arg5
        for TARGET_MEM_REF.  Set TREE_THIS_VOLATILE from arg5 of
        TARGET_MEM_REF.

        * gcc.c-torture/compile/pr43614.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr43614.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-address.c
    trunk/gcc/tree-ssa-loop-ivopts.c
    trunk/gcc/tree-ssa-operands.c
    trunk/gcc/tree.c


-- 


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

Reply via email to