This is the mail archive of the gcc@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]

Re: Warning for unadorned 0 in varargs lists?


* Dave Korn:

>   But the C language spec says that an integer constant zero must compare
> equal to a null pointer.
>
>   So why aren't we saying that the 64-bit ABIs are non-conformant?

When passed through a variadic function argument, an integer constant
zero is no longer a constant at the point where it matters.


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