aboutsummaryrefslogtreecommitdiff
path: root/gcc/lcm.h
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2016-01-08 01:00:25 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2016-01-07 18:00:25 -0700
commit7a127fa7c463b6b7c0285b32bac52bbdfc9a2117 (patch)
treed7b58a67882cd51f1addf5e9b63478ed3a012eb1 /gcc/lcm.h
parentc9733b8599c75031c40b85c15666730135f6f59b (diff)
downloadgcc-7a127fa7c463b6b7c0285b32bac52bbdfc9a2117.zip
gcc-7a127fa7c463b6b7c0285b32bac52bbdfc9a2117.tar.gz
gcc-7a127fa7c463b6b7c0285b32bac52bbdfc9a2117.tar.bz2
PR c/68966 - atomic_fetch_* on atomic_bool not diagnosed
gcc/ChangeLog: * doc/extend.texi (__atomic Builtins, __sync Builtins): Document constraint on the type of arguments. gcc/c-family/ChangeLog: * c-common.c (sync_resolve_size): Reject first argument when it's a pointer to _Bool. gcc/testsuite/ChangeLog: * gcc.dg/atomic-fetch-bool.c: New test. * gcc.dg/sync-fetch-bool.c: New test. From-SVN: r232147
Diffstat (limited to 'gcc/lcm.h')
0 files changed, 0 insertions, 0 deletions