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: RFA: Revamp fortran array types


Michael Matz wrote:

[ Two types that are both basically REAL(8) have different alias sets ]

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.

Well, the whole "variables of different types can't alias each other" is a C invention - so perhaps we can just turn it off while compiling Fortran :-)


[ OK, that's not totally serious ]

BTW, does everyone realize that - as soon as link time optimizations are the default - we can throw out all these nonsense, as it is then perfectly (though perhaps costly) determinable whether two names point to the same memory location(s) ?

Cheers,

--
Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html


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