[Bug target/69644] ICE with -O on __sync_bool_compare_and_swap with short in extract_insn, at recog.c:2286
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 4 13:58:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69644
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 4 13:58:21 2016
New Revision: 233138
URL: https://gcc.gnu.org/viewcvs?rev=233138&root=gcc&view=rev
Log:
Backported from mainline
2016-02-03 Jakub Jelinek <jakub@redhat.com>
PR target/69644
* config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
Force oldval into register if it does not satisfy reg_or_short_operand
predicate. Fix up formatting.
* gcc.dg/pr69644.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr69644.c
Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/rs6000/rs6000.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list