This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/67921] [6 Regression] "internal compiler error: in build_polynomial_chrec, at tree-chrec.h:147" when using -fsanitize=undefined


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

--- Comment #10 from amker at gcc dot gnu.org ---
Author: amker
Date: Mon Feb  1 17:17:47 2016
New Revision: 233042

URL: https://gcc.gnu.org/viewcvs?rev=233042&root=gcc&view=rev
Log:

        PR tree-optimization/67921
        * fold-const.c (split_tree): New parameters.  Convert pointer
        type variable part to proper type before negating. 
        (fold_binary_loc): Pass new arguments to split_tree.

        gcc/testsuite/ChangeLog
        PR tree-optimization/67921
        * c-c++-common/ubsan/pr67921.c: New test.


Added:
    trunk/gcc/testsuite/c-c++-common/ubsan/pr67921.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]