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: Patch for stricter implicit conversions between vectors


Andrew Pinski wrote:
>> >>> We do have such flags.  For example, -fpermissive and
>> >>> -ffriend-injection.

>> > I disagree.  I appreciate your message, but it doesn't add any new
>> > facts, and doesn't change my feelings on this matter.  I won't bother
>> > to reply in detail, since it would add nothing to the conversation.
>>
>> I agree with you that the flag is consistent with our precedent, and
>> that we should keep it.
> 
> So again I don't think an option is useful for this case, it just
> allows for sloppy code.

When we remove support for even clearly non-conforming code, we get
complaints.  Apple and AMD have publicly complained about this (citing
complaints from their users).  Certainly, CodeSourcery has had to
explain various issues like this to our direct and indirect customers.
RMS has even complained to the SC about some cases.

It's clearly a tough call.  From our perspective as developers, options
are bad; just remove the support and move on.  But, for users, that's
painful.  So, we have to decide these things case by case.

I think in this case we should have the option.  Like Ian, I don't
really feel there's more to be usefully said.  Unless a clear consensus
arises that the option is unnecessary, let's put it in.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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