Would a modern compiler (GCC) be smart enough to optimize this no-op function out?I know that they can optimize no-op's out but I'm wondering how well they can determine if a function call is actually a no-op.
void someFunction(){ if false{ doFunction() }}