diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-04-19 19:25:07 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-04-19 19:25:07 +0100 |
commit | da377db901807dd394238b9e01715ce1313af3ef (patch) | |
tree | c0ec87d29c84a7b657046e08c6456078a5ce5c3f /gcc/c-semantics.c | |
parent | 3baf459d85855934a326ef7e6a4dc4de3f3c8056 (diff) | |
download | gcc-da377db901807dd394238b9e01715ce1313af3ef.zip gcc-da377db901807dd394238b9e01715ce1313af3ef.tar.gz gcc-da377db901807dd394238b9e01715ce1313af3ef.tar.bz2 |
re PR c/38243 (Restrict constraint violation not an error with -pedantic-errors)
PR c/38243
* c-decl.c (shadow_tag_warned): Diagnose use of restrict when
declaring a tag.
testsuite:
* gcc.dg/c99-restrict-3.c: New test.
From-SVN: r146356
Diffstat (limited to 'gcc/c-semantics.c')
0 files changed, 0 insertions, 0 deletions