re PR middle-end/71716 (gcc.dg/atomic/c11-atomic-exec-4.c is miscompiled with -march...
authorJakub Jelinek <jakub@redhat.com>
Tue, 12 Jul 2016 08:58:56 +0000 (10:58 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 12 Jul 2016 08:58:56 +0000 (10:58 +0200)
commit1de3c940d8782eae7739a6c6f7327e99eee63cce
treea3491f88aab4b550e25d5c3270bfafe6131701df
parent712a93d637f8f49194b756d5ea8eb51d4de66608
re PR middle-end/71716 (gcc.dg/atomic/c11-atomic-exec-4.c is miscompiled with -march=corei7)

PR middle-end/71716
* gimple-fold.c (optimize_atomic_compare_exchange_p): Return false
for SCALAR_FLOAT_TYPE_P type of expected var, or if TYPE_PRECISION
is different from mode's bitsize.  Small cleanup.

From-SVN: r238239
gcc/ChangeLog
gcc/gimple-fold.c