[PATCH] pr51038 atomic_flag on targets with no atomic support.
Richard Henderson
rth@redhat.com
Thu Nov 10 16:56:00 GMT 2011
On 11/10/2011 08:35 AM, Andrew MacLeod wrote:
> Currently I don't issue any warnings ...
> + /* Otherwise issue the store and a warning. */
> + warning_at (loc, 0,
> + "__atomic_clear used on target with no atomic support");
> + __atomic_clear (&a, __ATOMIC_RELAXED); /* { dg-warning "__atomic_clear used on target with no atomic support" "" { target "cris-*-elf" } } */
What are those then?
And, obviously the cris test should be an effective target test.
r~
More information about the Gcc-patches
mailing list