public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@cygnus.com>
To: Jakub Jelinek <jakub@redhat.com>
Cc: libc-hacker@sourceware.cygnus.com
Subject: Re: [PATCH] shut up warnings in bits/string2.h
Date: Tue, 07 Dec 1999 23:41:00 -0000	[thread overview]
Message-ID: <m3g0xdubjw.fsf@localhost.localnet> (raw)
In-Reply-To: <19991207220811.M515@mff.cuni.cz>

Jakub Jelinek <jakub@redhat.com> writes:

> This patch shuts up gcc 2.96 warnings about long switch expressions not
> converted to int.

Well, rth commented that this might fail for long strings.  But those
strings must be string constants, not actual strings.  And gcc (nor
any other compiler) will have support for strings of more than 2^32
character in length.  So it should be possible to apply the patch.

> How does it work on other architectures?

Which functions?  The generic functions should perform quite good.
The copying of constant strings work by moving immedate values which
is much faster.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

  parent reply	other threads:[~1999-12-07 23:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-07 13:02 Jakub Jelinek
1999-12-07 18:41 ` Richard Henderson
1999-12-07 23:41 ` Ulrich Drepper [this message]
1999-12-08  0:22   ` Jakub Jelinek
1999-12-08  0:34     ` Ulrich Drepper
1999-12-08  7:56       ` Jakub Jelinek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3g0xdubjw.fsf@localhost.localnet \
    --to=drepper@cygnus.com \
    --cc=jakub@redhat.com \
    --cc=libc-hacker@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).