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: [RFC] c++ template instantiation generates zero-sized array (pr19989)


Mark Mitchell wrote:
> Josh Conner wrote:
> 
> 
>>I think this is consistent with my proposal -- the first example was
>>non-conforming, but accepted without -pedantic (as we do with other
>>zero-sized arrays).  The second example was conforming and the only way
>>to alter its behavior was with the -fpermissive option.
> 
> 
> My point was that conforming programs should compile and behave
> identically in all modes; therefore -fpermissive must not alter the
> behavior. 

OK, thanks for the clarification.  I'll prepare a revised patch and
submit it for approval.

- Josh


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