c11-atomic-1.c
5.62 KB
-
re PR c/69002 (C front end should warn about undefined access to atomic structure or union) · fda5652f
PR c/69002 * c-typeck.c (build_component_ref): Warn when acessing elements of atomic structures or unions. * gcc.dg/c11-atomic-1.c: Add dg-warnings. * gcc.dg/c11-atomic-4.c: New test. From-SVN: r231902
Marek Polacek committed