public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc vs Darwin memcmp
@ 2005-07-15 20:06 Dale Johannesen
  0 siblings, 0 replies; only message in thread
From: Dale Johannesen @ 2005-07-15 20:06 UTC (permalink / raw)
  To: GCC Development; +Cc: Dale Johannesen

Darwin's memcmp has semantics that are an extension of the language 
standard:

      The memcmp() function returns zero if the two strings are 
identical, oth-
      erwise returns the difference between the first two differing bytes
      (treated as unsigned char values, so that `\200' is greater than 
`\0',
      for example).

gcc's x86 inline expansion of memcmp doesn't do this, so I need to fix 
it.  Is there
interest in having this in mainline, and if so how would you like it 
controlled?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-15 20:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-15 20:06 gcc vs Darwin memcmp Dale Johannesen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).