]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/33726 (Type checking error with address-of and volatile and arrays)
authorRichard Guenther <rguenther@suse.de>
Thu, 11 Oct 2007 08:11:18 +0000 (08:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 11 Oct 2007 08:11:18 +0000 (08:11 +0000)
commit31b52b5a21ea72420cc11a9077843ad6cbc059a2
tree1ad830132c4e994fd801417643c425df98ea1803
parent50f0f3665baa3d351d1c15d62a5a93e56d3d3d7e
re PR c/33726 (Type checking error with address-of and volatile and arrays)

2007-10-11  Richard Guenther  <rguenther@suse.de>

PR c/33726
* c-typeck.c (build_array_ref): Do not strip qualifiers from
the array element type.

* gcc.dg/pr33726.c: New testcase.

From-SVN: r129227
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr33726.c [new file with mode: 0644]