[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 3 12:21:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to kugan from comment #3)
> > really you should handle more
> > than two arguments to phis.
> I am not sure how we can handle phi stmt with more than two arguments here.
> Any hints please?
Yes they are all interger constants but one of them. Also I think you do have
another bug where the conversion is an extension the original interger has to
fit in the new type. That is if you converting from char to int.
More information about the Gcc-bugs
mailing list