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/43614] [4.4/4.5 Regression] ice in gimple_rhs_has_side_effects, at gimple.c:2248



------- 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  <rguenther@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


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