RFD: language hooks in GIMPLE / lang_flag?

Mark Mitchell mark@codesourcery.com
Sat Jul 15 04:15:00 GMT 2006


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



More information about the Gcc mailing list