[Bug tree-optimization/67921] [6 Regression] "internal compiler error: in build_polynomial_chrec, at tree-chrec.h:147" when using -fsanitize=undefined
amker at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 1 17:18:00 GMT 2016
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
More information about the Gcc-bugs
mailing list