builtins.c (expand_builtin_atomic_exchange): Remove error when memory model is CONSUME.
2015-01-14 Andrew MacLeod <amacleod@redhat.com> * builtins.c (expand_builtin_atomic_exchange): Remove error when memory model is CONSUME. (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load, expand_builtin_atomic_store): Change invalid memory model errors to warnings. (expand_builtin_atomic_clear): Change invalid model errors to warnings and issue warning for CONSUME. * testsuite/gcc.dg/atomic-invalid.c: Check for invalid memory model warnings instead of errors. M gcc/ChangeLog M gcc/builtins.c M gcc/testsuite/ChangeLog M gcc/testsuite/gcc.dg/atomic-invalid.c From-SVN: r219615
Showing
Please
register
or
sign in
to comment