This is the mail archive of the gcc@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: C++ frontend bug involving pointers to arrays


On Mon, 21 Jul 2003 17:14:50 +0200 (MET DST), Ulrich Weigand <weigand@i1.informatik.uni-erlangen.de> wrote:

> Mark Mitchell wrote:
>
>> I think Jason wrote that code, so I've copied him.  It should clearly
>> apply only if the member itself is an array.

Agreed.  Interestingly, the C frontend has the same bug, it just doesn't
hurt because C is more lenient about pointer conversions.
 
>> As for why this is enabled by default, I have no idea.  I agree that it
>> should probably only be enabled with a -fms-extensions flag.

This is the same as the C99 flexible array extension; I'll correct the
comment.

Jason


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