[Bug tree-optimization/90571] Missed optimization opportunity when returning function pointers based on run-time boolean

"pinskia at gcc dot gnu.org via Gcc-bugs" <[email protected]> Tue, 04 Aug 2026 06:17:26 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90571

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=3D35545

--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> This is as opposed to the original testcase where a simpler pattern-match=
ing
> scheme could be invented.  I wonder how the "original" testcase looked
> like - the one in this bug is probably simplified from real-world code?

PR 35545 should how in one case it might show up.=