[Bug middle-end/88663] [9 Regression] internal compiler error: in check, at tree-vrp.c:188

law at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 2 18:31:00 GMT 2019


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

--- Comment #4 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Wed Jan  2 18:30:50 2019
New Revision: 267520

URL: https://gcc.gnu.org/viewcvs?rev=267520&root=gcc&view=rev
Log:
        PR middle-end/88663
        * gimple-fold.c (get_range_strlen): Update prototype to no longer
        need the flexp argument.
        (get_range_strlen_tree): Drop flexp argument.  Drop flexp argument
        from calls to get_range_strlen.  Update comments.  Just update
        VAL for an unterminated const char array and let the reset of the
        code handle it normally.  No longer try to set *flexp.  Adjust
        return value.
        (get_range_strlen): Update for the new get_range_strlen API.
        (get_maxval_strlen): Similarly.
        (gimple_fold_builtin_strlen): Handle update meaning of return value
        from get_range_strlen.
        * gimple-ssa-sprintf.c (get_string_length): Update for the new
        get_range_strlen API.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-fold.c
    trunk/gcc/gimple-ssa-sprintf.c


More information about the Gcc-bugs mailing list