[Bug sanitizer/70683] [7 Regression] -fcompare-debug bug with -fsanitize=address

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 27 13:30:00 GMT 2016


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr 27 13:29:34 2016
New Revision: 235507

URL: https://gcc.gnu.org/viewcvs?rev=235507&root=gcc&view=rev
Log:
        PR sanitizer/70683
        * tree-core.h (enum operand_equal_flag): Add OEP_NO_HASH_CHECK.
        * fold-const.c (operand_equal_p): If flag_checking and
        OEP_NO_HASH_CHECK is not set in flag, recurse with OEP_NO_HASH_CHECK
        and if it returns non-zero, assert iterative_hash_expr on both
        args is the same.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/tree-core.h


More information about the Gcc-bugs mailing list