[Bug tree-optimization/123864] [13/14/15/16 Regression] wrong code with __builtin_*_overflow() at -O2 and above

mikpelinux at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 29 11:51:33 GMT 2026


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

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpelinux at gmail dot com

--- Comment #4 from Mikael Pettersson <mikpelinux at gmail dot com> ---
My git bisect said it started with r13-979-g1982fe2692b6c3:

1982fe2692b6c3b7f969ffc4edac59f9d4359e91 is the first new commit
commit 1982fe2692b6c3b7f969ffc4edac59f9d4359e91 (HEAD)
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Jun 3 11:41:21 2022 +0200

    match.pd: Optimize __builtin_mul_overflow_p (x, cst, (stype)0) [PR105777]


More information about the Gcc-bugs mailing list