diff options
author | Marek Polacek <polacek@redhat.com> | 2015-12-22 15:23:21 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2015-12-22 15:23:21 +0000 |
commit | fda5652f8fe24f637b29608d12fff72e6df08ba9 (patch) | |
tree | 8c5ff4eaa6ca02b1a6b16ad476daf41cbf9fd2a1 /include | |
parent | 5a00b0aaf036edadc48861b91d3804796525c2d5 (diff) | |
download | gcc-fda5652f8fe24f637b29608d12fff72e6df08ba9.zip gcc-fda5652f8fe24f637b29608d12fff72e6df08ba9.tar.gz gcc-fda5652f8fe24f637b29608d12fff72e6df08ba9.tar.bz2 |
re PR c/69002 (C front end should warn about undefined access to atomic structure or union)
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions