bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-memchr failure on rawhide


From: Andreas Schwab
Subject: Re: test-memchr failure on rawhide
Date: Sat, 09 May 2009 11:53:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Does memchr(ptr,c,0) for ptr != NULL now access ptr[0] or not?

The as-if rule allows everything as long as a strictly compliant program
cannot tell the difference.

> In both cases the memchr implementation is deviating from traditional
> behaviour and provoking crashes for programs that worked fine earlier.

s/worked fine earlier/invoked undefined behviour/

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]