Re: [PATCH PR95700 v2] Redefine NULL to nullptr

2020-06-30 Thread Richard Sandiford
Ilya Leoshkevich writes: > v1: https://gcc.gnu.org/pipermail/gcc-patches/2020-June/548822.html > > This is the implementation of Richard's suggestion. I've decided not > to remove the initial #define NULL 0, since system.h mixes inclusion of > system and helper headers (e.g. libiberty), which mig

[PATCH PR95700 v2] Redefine NULL to nullptr

2020-06-30 Thread Ilya Leoshkevich via Gcc-patches
v1: https://gcc.gnu.org/pipermail/gcc-patches/2020-June/548822.html This is the implementation of Richard's suggestion. I've decided not to remove the initial #define NULL 0, since system.h mixes inclusion of system and helper headers (e.g. libiberty), which might use NULL - if not today, then in