memset suggestion.

Corinna Vinschen vinschen at
Fri Nov 8 19:57:41 EST 2002

On Thu, Nov 07, 2002 at 10:14:50PM -0600, Ben Lindstrom wrote:
> Since 3.x is rolling out with -fno-builtin-<comand> support maybe we
> should test for 3.x and set -fno-builtin-memset which should stop gcc from
> optimizing it away.  And maybe everyone should look for the same feature
> in their favorite compiler.
> There is not much OpenSSH can do about bad compilers optimization, but
> that is the only reasonable way to stop it starting in the 3.x series of
> gcc.

Can you enlighten us why it is bad?  I'm not a compiler guru...


Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at

More information about the openssh-unix-dev mailing list