[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR
kugan at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 3 12:25:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726
--- Comment #5 from kugan at gcc dot gnu.org ---
(In reply to Andrew Pinski from comment #4)
> (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.
Thanks for that. Yes, I fixed this and another during testing. I will post it
after full regression testing.
More information about the Gcc-bugs
mailing list