This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Revamp fortran array types
Hi,
On Tue, 18 Aug 2009, Michael Matz wrote:
> where T1 and T2 are really the same type but with different alias sets
> (in this case it's both a variant of real(kind=8)). Unfortunately the
> need for different alias sets means that the two types can't be really
> variants of each other, hence conversions between them are not useless,
> hence they aren't stripped away. Of course they preserve values just
> fine, so in reality the conversion _can_ be stripped in such contexts.
> Hmm.
Okay, after some pondering we decided that the vectorizer should be fixed
to not rely on TYPE_MAIN_VARIANT to establish type similarity but rather
some variant of useless_type_conversion_p. I'd rather do this in a
followup to not clutter the current patch even more, though.
Ciao,
Michael.