Bug#778163: vim: ftbfs with GCC-5

James McCoy jamessan at debian.org
Tue Mar 3 04:38:40 UTC 2015

On Fri, Feb 27, 2015 at 08:34:59PM +0100, Matthias Klose wrote:
> On 02/27/2015 08:33 PM, James McCoy wrote:
> > On Feb 27, 2015 1:49 PM, "Matthias Klose" <doko at debian.org> wrote:
> >>
> >> On 02/27/2015 07:45 PM, James McCoy wrote:
> >>> I narrowed it down to src/regexp.c.
> >>
> >> cool, you could use the optimize attribute, applied to a single function
> > to
> >> search for the miscompiled function ...
> > 
> > Cool. It's the peekchr function.
> any chance to reduce this to a test case?

You mean a test case as described in
<https://gcc.gnu.org/bugs/minimize.html>?  The specific function this is
happening in is an internal helper function relying on global state of
Vim's regex engine.  I don't have a minimal runtime test case, let alone
a minimal piece of code to reproduce the problem.

I'll try to find some time to get either of those.  In the mean time,
I'll keep testing new GCC-5 uploads.

GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>

More information about the pkg-vim-maintainers mailing list