[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
Thu Aug 19 18:37:49 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> 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.

So the cstore issue fixed in GCC 11+.
The second issue is PR 13563.

So marking this as a dup of bug 13563.

*** This bug has been marked as a duplicate of bug 13563 ***


More information about the Gcc-bugs mailing list