[Bug tree-optimization/85971] Really Simple "If" with one function call inside is not optimized efficiently

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 29 21:52:00 GMT 2018


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |85987
           Severity|normal                      |enhancement

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think this is actually two different bugs.
One where cstore is not working when there is a function call inbetween.
If I add an argument to CreateChecksum and change the first PolyMod to + t and
the second PolyMod  to * t.  the cstore optimization work.  This is recorded
now as PR 85987.

The second one is the lowering of common function calls with slightly different
arguments.  I thought I saw one asking for this one but I can't find it.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85987
[Bug 85987] cstore does not work with a store in one of the branches


More information about the Gcc-bugs mailing list