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/43236] -ftree-loop-distribution produces wrong code in reload1.c:delete_output_reload(), bootstrap fails



------- Comment #9 from amonakov at gcc dot gnu dot org  2010-03-10 12:54 -------
Subject: Bug 43236

Author: amonakov
Date: Wed Mar 10 12:53:51 2010
New Revision: 157339

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157339
Log:
        PR tree-optimization/43236
        * tree-loop-distribution.c (generate_memset_zero): Fix off-by-one
        error in calculation of base address in reverse iteration case.
        (generate_builtin): Take number of latch executions if the statement
        is in the latch.

        * gcc.c-torture/execute/pr43236.c: New.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr43236.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-loop-distribution.c


-- 


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


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