This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Unreviewed patch for c-decl.c
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Sep 2003 20:16:15 +0100 (BST)
- Subject: Re: Unreviewed patch for c-decl.c
- References: <69595093233BB547BB70CF5E492B63F20229A658@sohm.kpit.com>
On Tue, 30 Sep 2003, Dhananjay R. Deshpande wrote:
> http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01485.html
But the qualifiers of an array element type *aren't* qualifiers of the
array type, and even if you use typedefs to apply the qualifiers directly
to the array type, they still become qualifiers of the element type not of
the array type (6.7.3#8). You need a much more detailed justification of
why giving the array type the wrong qualifiers would never cause a
violation of the C standard.
--
Joseph S. Myers
jsm@polyomino.org.uk