> I think that was on purpose to avoid arithmetics in enum types.  As those
> conversions are useless and thus stripped later is it really important
> to retain enum and boolean kind here?

The problem is that convert.c is called by front-ends and the patch also 
removed the callback into them that made it possible to have some control.
So, yes, it's pretty annoying to see totally bogus conversion nodes being 
introduced into your ASTs behind your back...

-- 
Eric Botcazou

Reply via email to