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/85467] [8 Regression] ICE: verify_gimple failed: non-trivial conversion at assignment with -O2 -fno-tree-ccp --param=sccvn-max-scc-size=10


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

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