]> gcc.gnu.org Git - gcc.git/commit
re PR c/38243 (Restrict constraint violation not an error with -pedantic-errors)
authorJoseph Myers <joseph@codesourcery.com>
Sun, 19 Apr 2009 18:25:07 +0000 (19:25 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Sun, 19 Apr 2009 18:25:07 +0000 (19:25 +0100)
commitda377db901807dd394238b9e01715ce1313af3ef
treec0ec87d29c84a7b657046e08c6456078a5ce5c3f
parent3baf459d85855934a326ef7e6a4dc4de3f3c8056
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
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c99-restrict-3.c [new file with mode: 0644]
This page took 0.059076 seconds and 5 git commands to generate.