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:
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 (http://gcc.gnu.org/ml/gcc/2006-11/msg00051.html 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 :-)

Mark


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