On 01/20/2016 10:00 PM, Martin Sebor wrote:
The attached patch avoids printing a diagnostic referencing the type
of an incompatible argument to the __atomic_xxx built-ins when the
argument is in error. Doing otherwise causes an ICE as pointed out
in the bug, for both of which I am to blame.
Martin
gcc-69405.patch
gcc/testsuite/ChangeLog:
2016-01-20 Martin Sebor<mse...@redhat.com>
PR c/69405
* gcc.dg/sync-fetch.c: New test.
gcc/c-family/ChangeLog:
2016-01-20 Martin Sebor<mse...@redhat.com>
PR c/69405
* c-common.c (sync_resolve_size): Avoid printing diagnostic about
an incompatible argument when the argument isn't a valid a tree
node.
OK.
THanks,
Jeff