https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125448
--- Comment #2 from Kishan Parmar <kishan at gcc dot gnu.org> ---
Apologies for above comment.
For below testcase while compiling for -mcpu=860, give following error.
cc1: error: '-m64' requires a PowerPC64 cpu
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-options "-mcpu=860 -O2" } */
/* Check that we do not emit lwsync when targeting MPC8xx (MPCCORE),
since the MPC8xx core does not support and faults on this instruction. */
void
store_release (int *ptr, int val)
{
__atomic_store_n (ptr, val, __ATOMIC_RELEASE);
}