[Bug tree-optimization/46969] [4.6 Regression] -fcompare-debug failure with -O -ftree-vectorize -ftree-parallelize-loops=2

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 18 21:07:00 GMT 2010


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-18 21:07:15 UTC ---
Author: jakub
Date: Sat Dec 18 21:07:12 2010
New Revision: 168034

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168034
Log:
    PR tree-optimization/46969
    * tree-parloops.c (struct reduction_info): Add reduc_version.
    (reduction_info_hash): Return reduc_version field.
    (reduction_phi): Set reduc_version to gimple_uid (phi).
    (build_new_reduction): Set reduc_version to SSA_NAME_VERSION of
    phi result.
    (set_reduc_phi_uids): New function.
    (gather_scalar_reductions): Call it at the end through htab_traverse.

    * gcc.dg/autopar/pr46969.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/autopar/pr46969.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-parloops.c



More information about the Gcc-bugs mailing list