diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-06-05 13:54:41 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-06-05 13:54:41 +0100 |
commit | f2c1da78929f644fdd6cd556769f1ecbe1614cf1 (patch) | |
tree | 6a1083c9a3ed75f534e40143e61b6ec996cb7901 /gcc/c-parser.c | |
parent | e68edbf6bcedca8428a96fc94fa25dab97b68860 (diff) | |
download | gcc-f2c1da78929f644fdd6cd556769f1ecbe1614cf1.zip gcc-f2c1da78929f644fdd6cd556769f1ecbe1614cf1.tar.gz gcc-f2c1da78929f644fdd6cd556769f1ecbe1614cf1.tar.bz2 |
re PR c/44322 (Bogus warning when assigning pointer-to-array with both "const" and "restrict")
PR c/44322
* c-typeck.c (build_unary_op): Merge qualifiers into pointer
target type for ADDR_EXPR; require no changes to qualifiers except
for function types.
* c-tree.h (c_build_type_variant): Remove.
testsuite:
* gcc.dg/c99-restrict-4.c: New test.
From-SVN: r160312
Diffstat (limited to 'gcc/c-parser.c')
0 files changed, 0 insertions, 0 deletions