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/32183] [4.3 Regression] reassoc2 can more extra calculations into a loop



------- Comment #31 from hjl at gcc dot gnu dot org  2007-09-08 06:47 -------
Subject: Bug 32183

Author: hjl
Date: Sat Sep  8 06:46:53 2007
New Revision: 128262

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128262
Log:
2007-09-07  Zdenek Dvorak  <ook@ucw.cz>

        PR tree-optimization/32183
        * Makefile.in (tree-ssa-reassoc.o): Also depend on $(CFGLOOP_H).

        * tree-ssa-reassoc.c: Include cfgloop.h.
        (is_reassociable_op): Add a loop argument and return true only
        for inside loop.
        (linearize_expr): Updated.
        (should_break_up_subtract): Likewise.
        (linearize_expr_tree): Likewise.
        (init_reassoc): Call loop_optimizer_init with
        AVOID_CFG_MODIFICATIONS.  Remove calculate_dominance_info call
        with CDI_DOMINATORS.
        (fini_reassoc): Call loop_optimizer_finalize.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/tree-ssa-reassoc.c


-- 


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


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