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
Showing
gcc/testsuite/gcc.dg/c99-restrict-4.c
0 → 100644
Please
register
or
sign in
to comment