FreeBSD gcc bug w.r.t. src/lib/libz/infcodes.c fixed?

Jos Backus jos at catnook.com
Sun May 11 17:19:06 PDT 2003


I'm curious: src/lib/libz/infcodes.c has

      {
      /* XXX work around a gcc bug. */
      volatile inflate_blocks_statef *s1 = s;

      while (f < s1->window)            /* modulo window size-"while" instead */
        f += s1->end - s1->window;      /* of "if" handles invalid distances */
      }

IIrc, Bruce Evans came up with this workaround. Does anyone know if this bug
has been fixed? It also pertains to net/rsync (patch-infcodes.c).

-- 
Jos Backus                       _/  _/_/_/      Sunnyvale, CA
                                _/  _/   _/
                               _/  _/_/_/
                          _/  _/  _/    _/
jos at catnook.com        _/_/   _/_/_/          require 'std/disclaimer'


More information about the freebsd-current mailing list