Patch for stricter implicit conversions between vectors

Mark Shinwell
Tue Nov 14 17:31:00 GMT 2006

Andrew Pinski wrote:
> On Tue, 2006-11-14 at 12:14 +0000, Mark Shinwell wrote:
>> - Adds a new flag -flax-vector-conversions to suppress the extra checking
>>    in the first two points above.
> I really really don't want a flag that allows people to create non
> portable code.  Also this is just a real regression of accepting invalid
> code, why don't we have a flag for the other cases where we now reject
> the code?

If the consensus is not to have the flag, so be it -- but after the previous
discussion ( for example) it
seemed that people were more in favour of the flag rather than just the more
strict behaviour.  It isn't entirely clear to me that just because this issue
is a regression then we should reject any such broken code in question with
no option: that sort of behaviour might only serve to annoy.  I suppose the
deciding factor is really whether there are significant quantities of
broken code out there that people will be unwilling to fix -- others here
are much better placed than I to make a judgement on that one -- or possibly
how willing we are to risk alienating users :-)


More information about the Gcc-patches mailing list