https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81231
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Tue Jul 4 12:17:22 2017 New Revision: 249963 URL: https://gcc.gnu.org/viewcvs?rev=249963&root=gcc&view=rev Log: PR c/81231 * c-common.c (sync_resolve_size): Give error for pointers to incomplete types. * gcc.dg/atomic-pr81231.c: New test. Added: trunk/gcc/testsuite/gcc.dg/atomic-pr81231.c Modified: trunk/gcc/c-family/ChangeLog trunk/gcc/c-family/c-common.c trunk/gcc/testsuite/ChangeLog