This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFD: language hooks in GIMPLE / lang_flag?
Richard Kenner wrote:
>> In RTL, sure. In GIMPLE, I don't think so, as if you do that you lose
>> the type information about the result. But, I'm not a GIMPLE expert;
>> maybe there's some magic way of handling this.
>
> The type of the "result" is always the type of the LHS.
OK. But, GIMPLE is also supposed to be type-safe, so I wouldn't think
that "int = long" would be well-formed gimple.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713