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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e492b28..8dc548d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2010-06-05 Joseph Myers <joseph@codesourcery.com> + + 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. + 2010-06-05 Segher Boessenkool <segher@kernel.crashing.org> genautomata.c (get_excl_set): Do work per element, not per char. |