Re: [Bug rtl-optimization/51040] atomic_fetch_nand issue

2011-11-10 Thread Richard Henderson
On 11/10/2011 08:29 AM, Andrew MacLeod wrote: > PR rtl-optimization/51040 > * optabs.c (expand_atomic_fetch_op): Patchup code for NAND should be AND > followed by NOT. > * builtins.c (expand_builtin_atomic_fetch_op): Patchup code for NAND > should be AND followed by NO

Re: [Bug rtl-optimization/51040] atomic_fetch_nand issue

2011-11-10 Thread Andrew MacLeod
On 11/09/2011 02:15 PM, Andrew MacLeod wrote: NAND patchup arithmetic was missing the 2 stage AND then NOT operation. Instead it was falling into the same sequence as every other operation and trying to perform a binary operation on a NOT. I managed to modify and existing testcase to trigger t