On 26.10.2010 15:37, Ian Lance Taylor wrote:
Thomas Martitz<thomas.martitz@xxxxxxxxxxxxxxxxxxxxx> writes:Assuming min() is a macro or a pure or inline function, shouldn't gcc issue a "statement without effect" warning because it has no side effects?Yes. But that will only happen if min is indeed given the pure attribute. Ian
So not if gcc's heuristics detect the pureness? Best regards.