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 03/06/2013 11:42 AM, Paolo Carlini wrote:I hear you. Then since type is already initialized to NULL_TREE anyway, we can do the below. I'm finishing testing it.+ /* NULL_TREE or error_mark_node (if decl is error_mark_node). */ + type = TREE_TYPE (decl);
I'd prefer to avoid taking the TREE_TYPE of some random thing. If what we want is NULL_TREE or error_mark_node, let's write that rather than expect to get it from TREE_TYPE.
Attachment:
patch_56534_4
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |