[Bug tree-optimization/126648] [16/17 Regression] ICE at -O3 on x86_64-linux-gnu during GIMPLE pass: vrp

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126648

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Macleod <[email protected]>:

https://gcc.gnu.org/g:0bf6e399dbc8e1f6d2b3f7e0f3a0cab9ac55b572

commit r17-3203-g0bf6e399dbc8e1f6d2b3f7e0f3a0cab9ac55b572
Author: Andrew MacLeod <[email protected]>
Date:   Wed Aug 5 14:05:33 2026 -0400

    Check for undefined in operator_lshift::op1_range.

    If we conclude that the op1_range calculation is undefined, simply
    abort the calculation.

            PR tree-optimization/126648
            gcc/
            * range-op.cc (operator_lshift::op1_range): Handle undefined.

            gcc/testsuite/
            * gcc.dg/pr126648.c: New.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.