[Bug rtl-optimization/78527] [7 Regression] ice on valid C code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in smallest_mode_for_size, at stor-layout.c:364)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 25 17:23:00 GMT 2016


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Nov 25 17:12:29 2016
New Revision: 242879

URL: https://gcc.gnu.org/viewcvs?rev=242879&root=gcc&view=rev
Log:
        PR rtl-optimization/78527
        * combine.c (make_compound_operation_int): Ignore LSHIFTRT with
        out of bounds shift count.

        * gcc.c-torture/compile/pr78527.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr78527.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list