On 03/30/2015 05:32 AM, Richard Biener wrote:
IMHO that's bogus. But I thought we decided that functions with non-local labels shouldn't be cloned?
Yes, why isn't copy_forbidden flagging this function? It has a check for exactly this situation.
And cloning static vars looks bogus as well as the addresses of the vars need to compare equal
We aren't cloning the static var, that's why its decl_function_context is the abstract function.
Jason