[Bug middle-end/78429] [6/7 Regression] ICE in set_value_range, at tree-vrp.c on non-standard boolean

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 24 12:10:00 GMT 2016


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

--- Comment #18 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Thu Nov 24 12:05:40 2016
New Revision: 242830

URL: https://gcc.gnu.org/viewcvs?rev=242830&root=gcc&view=rev
Log:
        PR middle-end/78429
        * tree.h (wi::fits_to_boolean_p): New predicate.
        (wi::fits_to_tree_p): Use it for boolean types.
        * tree.c (int_fits_type_p): Likewise.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/compile/20161124-1.c
      - copied unchanged from r242829,
trunk/gcc/testsuite/gcc.c-torture/compile/20161124-1.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/testsuite/ChangeLog
    branches/gcc-6-branch/gcc/tree.c
    branches/gcc-6-branch/gcc/tree.h


More information about the Gcc-bugs mailing list