[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 2 12:54:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #29 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Zdenek Dvorak from comment #28)
> Subject: Bug 28364
> 
> Author: rakdver
> Date: Wed Aug 16 21:14:11 2006
> New Revision: 116189
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116189
> Log:
> 	PR tree-optimization/28364
> 	* tree-ssa-loop-ivopts.c (aff_combination_to_tree): Handle zero
> 	correctly.
> 	(fold_affine_expr): New function.
> 	(may_eliminate_iv): Use fold_affine_expr.
> 
> 
> Modified:
>     trunk/gcc/ChangeLog
>     trunk/gcc/tree-ssa-loop-ivopts.c

Did this fix it?


More information about the Gcc-bugs mailing list