[C++0x] nullptr

Jason Merrill jason@redhat.com
Thu May 6 20:52:00 GMT 2010


On 05/02/2010 07:17 PM, Magnus Fromreide wrote:
>>   or would you like me to make the necessary changes to the debugging backends?
>
> Yes, please.

I made those changes and a few other tweaks that I noticed while 
preparing the patch to go in:

* I think my choice of std::nullptr_t was wrong before, so I changed it 
to decltype(nullptr).
* I put typeid(decltype(nullptr)) into the runtime library.
* I added some tests for debugging, mangling and demangling.
* I fixed an instance of "nullptr" in the fortran front end.
* And a few other minor tweaks.

Attached are the diffs relative to your patches (nullptr-changes.patch) 
and the full patch I'm committing (nullptr-full.patch).

Thanks a lot for your work on this!

Tested x86_64-pc-linux-gnu, applying to trunk.  Now you only need to 
deal with the library folks. :)

Incidentally, library folks: does my change to gnu.ver look right?  I 
noticed that the stuff I put there before was redundant.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nullptr-changes.patch
Type: text/x-patch
Size: 11312 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100506/beddae91/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nullptr-full.patch
Type: text/x-patch
Size: 35002 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100506/beddae91/attachment-0001.bin>


More information about the Gcc-patches mailing list