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]

[C++ Patch] PR 51313


Hi,

here we ICE in C++11 mode in null_ptr_cst_p because integer_zerop is true for a NOP_EXPR, which TREE_OVERFLOW cannot handle. Thus the idea is using STRIP_NOPS in C++11 mode too: makes sense to me unless we have reasons of principle to exclude NOPs in that mode. Anyway, patch passes testing on x86_64-linux.

Thanks,
Paolo.

///////////////////////

Attachment: CL_51313
Description: Text document

Attachment: patch_51313
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]