This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |