[Bug tree-optimization/97488] [11 Regression] ICE: Segmentation fault (in wi::set_bit_large)

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 19 12:34:28 GMT 2020


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aldy Hernandez <aldyh@gcc.gnu.org>:

https://gcc.gnu.org/g:2d2f4ffc97a8510e72a99ee106159aeae2627a42

commit r11-4070-g2d2f4ffc97a8510e72a99ee106159aeae2627a42
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Mon Oct 19 06:18:46 2020 -0400

    Gracefully handle right shifts larger than the precision.

    gcc/ChangeLog:

            PR tree-optimization/97488
            * range-op.cc (operator_lshift::op1_range): Handle large right
shifts.

    gcc/testsuite/ChangeLog:

            * gcc.dg/pr97488.c: New test.


More information about the Gcc-bugs mailing list