On 02/26/2015 07:22 AM, Marek Polacek wrote:
- if (t == error_mark_node) + if (t == NULL_TREE || t == error_mark_node) { *non_constant_p = true;
No, we don't want an empty return to make the call non-constant, it's perfectly valid. Let's handle this specifically in the RETURN_EXPR case.
Jason