Patch: New null_terminated attribute for C/C++

Jason Merrill jason@redhat.com
Tue Oct 15 07:35:00 GMT 2002


On 15 Oct 2002 10:18:11 +0200, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

> I understand Jason's comment as saying that you should not just
> testing for integral type (which __null is) but also test for
> null_pointer_node (which represents __null) and OK for that integral
> constant expression since the obvious thing will happen.

Yes.  Tom, if we're somehow losing null_pointer_node along the way, that
seems like a bug.

Jason



More information about the Gcc-patches mailing list