[Bug tree-optimization/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size=10
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 19 19:17:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85467
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Apr 19 19:16:18 2018
New Revision: 259507
URL: https://gcc.gnu.org/viewcvs?rev=259507&root=gcc&view=rev
Log:
PR tree-optimization/85467
* fold-const.c (fold_ternary_loc) <case BIT_FIELD_REF>: Use
VECTOR_TYPE_P macro. If type is vector type, VIEW_CONVERT_EXPR the
VECTOR_CST element to type.
* gcc.dg/pr85467.c: New test.
Added:
trunk/gcc/testsuite/gcc.dg/pr85467.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/fold-const.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list