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 10/31/2011 04:09 PM, Paolo Carlini wrote:Right. Thus essentially a mix of the two recent tries, like the below, right? Patch becomes even simpler and more importantly we rely on c_inhibit_* only for c code proper.... so today I noticed the c_inhibit_evaluation_warnings use in cp_convert_and_check and occurred to me that we could use the existing mechanism for this warning too?
The below still passes checking and my small set of tests...
I notice that this patch only changes the C++ front end, and it seems like you already have special cases for pointers/pointers to members, so you might as well go ahead and use nullptr_node.
Thanks, Paolo.
Attachment:
patch_44277_draft_4
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |