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] |
Hi again ;) On 06/13/2014 12:20 PM, Paolo Carlini wrote:
... nope, sorry, the latter doesn't pass testing, accepts: (void = 0)and void2.C regresses. Thus I propose something conservative, like the below.
.. or tackle directly void2.C and use: if (type == void_type_node && !init && !DECL_NAME (decl) && !result && TREE_CHAIN (parm) == void_list_node) which I like a lot. Thanks, Paolo. /////////////////
Attachment:
patch_33101_5
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |