This is the mail archive of the
mailing list for the GCC project.
Re: Patch for stricter implicit conversions between vectors
- From: Andrew Pinski <pinskia at gmail dot com>
- To: Mark Shinwell <shinwell at codesourcery dot com>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Nov 2006 08:47:35 -0800
- Subject: Re: Patch for stricter implicit conversions between vectors
- References: <4559B33A.firstname.lastname@example.org>
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 other reason I don't want the flag is I don't want us to maintain it
forever because the flag in this case is useless unless someone does not
read the language extension specifications for their processor. Also
giving the user the name of the flag when an implicit conversion would
happens will just the problem worse as users don't like to fix their
invalid code to be valid.
This is only a regression from 3.4.0 which means nobody really caught it
before or if they did not report it to the FSF, instead they just
modified their own version of GCC.