PR middle-end/85195
commit93b93567c77bd41f2a3a84a28164493f7ddd9113
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2018 18:35:16 +0000 (5 18:35 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2018 18:35:16 +0000 (5 18:35 +0000)
tree7f3b51a1d5a4bdc0f107dde56957182a8fc16cb9
parent98380f8782fa2125fa338a8f0e582c1cfc8ec14e
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259149 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr85195.c [new file with mode: 0644]