This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unreviewed patch for c-decl.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]