[cfe-dev] conditional operator

Jochen Wilhelmy j.wilhelmy at arcor.de
Tue Jul 20 07:39:12 PDT 2010


Hi!

when using something like
(a < b) ? a : b

I would expect that the select instruction is always used.
But, if a or b are a global variable, a real branch with multiple
basic blocks is created. Is this a bug or a feature?

-Jochen




More information about the cfe-dev mailing list