[Bug tree-optimization/79631] [CHKP] ICE tree check: expected integer_cst, have negate_expr in decompose, at tree.h:5255

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 9 10:10:00 GMT 2017


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

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Mar  9 10:10:02 2017
New Revision: 245998

URL: https://gcc.gnu.org/viewcvs?rev=245998&root=gcc&view=rev
Log:
Fix ICE in tree-chkp-opt.c (PR tree-optimization/79631).

2017-03-09  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/79631
        * tree-chkp-opt.c (chkp_is_constant_addr): Call
        tree_int_cst_sign_bit just for INTEGER constants.
2017-03-09  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/79631
        * gcc.target/i386/mpx/pr79631.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/i386/mpx/pr79631.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-chkp-opt.c


More information about the Gcc-bugs mailing list