2014-08-12 Thomas Preud'homme <thomas.preudhomme@arm.com>
authorthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Aug 2014 02:36:37 +0000 (02:36 +0000)
committerthopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Aug 2014 02:36:37 +0000 (02:36 +0000)
commit2eac3ab5e8ef197e3308cc717a412b5141508dbb
tree849f9085301f02b227c783b7016e0d07ac06691c
parent7a964f9e36bfdd8271aba400ea58709cf1b9c6d7
2014-08-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR middle-end/62103
    * gimple-fold.c (fold_ctor_reference): Don't fold in presence of
    bitfields, that is when size doesn't match the size of type or the
    size of the constructor.

    gcc/testsuite/
    PR middle-end/62103
    * gcc.c-torture/execute/bitfld-6.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213846 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/bitfld-6.c [new file with mode: 0644]