[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/35659] [4.3/4.4 Regression] Miscompiled code with -O2 (but not with -O2 -funroll-loops) on ia64




------- Comment #8 from sje at cup dot hp dot com  2008-06-03 17:59 -------
I looked at this bug and I can reproduce it using the precompiled archives from
the link.  I have not tried to get the CERN sources to create a small 'real'
test case.  I noticed that the bug does not happen on ToT and found that the
test started working correctly with version 133081.  The patch submitted in
this version is for PR 34677 which claims to be a missed optimization issue as
opposed to a codegen bug fix so I am not sure if the bug is really fixed by
that change or if that change just masks the problem like -funroll-loops does.

2008-03-10  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/34677
        * tree-ssa-pre.c (modify_expr_node_pool): Remove.
        (poolify_tree): Likewise.
        (modify_expr_template): Likewise.
        (poolify_modify_stmt): Likewise.
        (insert_fake_stores): Handle all component-ref style stores
        in addition to INDIRECT_REF.  Also handle complex types.
        Do not poolify the inserted load.
        (realify_fake_stores): Do not rebuild the tree but only
        make it a SSA_NAME copy.
        (init_pre): Remove initialzation of modify_expr_template.
        Do not allocate modify_expr_node_pool.
        (fini_pre): Do not free modify_expr_node_pool.


-- 


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Reply to: