re PR middle-end/85195 (ICE: verify_gimple failed: non-trivial conversion at assignme...
authorJakub Jelinek <jakub@redhat.com>
Thu, 5 Apr 2018 18:35:16 +0000 (20:35 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 5 Apr 2018 18:35:16 +0000 (20:35 +0200)
commit4c1da8ea3e05208b006b1fb926a02fed7df05e5f
tree7f3b51a1d5a4bdc0f107dde56957182a8fc16cb9
parent520a02b6fa643372b076ebaa6a6a10dc3cc7cb46
re PR middle-end/85195 (ICE: verify_gimple failed: non-trivial conversion at assignment with -O -fno-tree-ccp --param=sccvn-max-scc-size=10)

PR middle-end/85195
* match.pd (BIT_FIELD_REF CONSTRUCTOR@0 @1 @2): Use view_convert around
CONSTRUCTOR_ELT (ctor, ...)->value.

* gcc.dg/pr85195.c: New test.

From-SVN: r259149
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr85195.c [new file with mode: 0644]