This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] __attribute__((nonnull))
On Wed, May 22, 2002 at 07:46:29PM +0100, Joseph S. Myers wrote:
> I think this message is too specific for the case of an operand number
> that is <= 0 or greater than the number of function parameters, implying
> that the parameter is present but of a bad type. In such a case the
> "invalid operand number" message would be better.
Ok, I can fix that. (I actually did that in my original patch, but
the error was reported incorrectly if the operand number was +1 the
number of operands, because of how the tree list is terminated ... So
I simply changed it to work like the format attribute worked.)
Does the patch look okay other than that?
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>