Control: reassign -1 gcc-14 14.1.0-1
Control: retitle -1 gcc-14: miscompiles code on s390x at -O2
Control: tag -1 upstream
Control: severity -1 normal
Control: forwarded -1 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116799

On Wed, Sep 18, 2024 at 02:40:11PM GMT, James McCoy wrote:
> On Wed, Sep 18, 2024 at 05:27:55PM GMT, Niko Tyni wrote:
> > This package failed to build from source on the s390x buildd, preventing
> > testing migration as it has built successfully in the past.
> > 
> >  
> > https://buildd.debian.org/status/fetch.php?pkg=vim&arch=s390x&ver=2%3A9.1.0709-1&stamp=1726338812&raw=0
> >   
> >   Failures: 
> >     From test_alot.vim:
> >     Found errors in Test_glob2regpat_valid():
> >     command line..script 
> > /<<PKGBUILDDIR>>/src/vim-gtk3/testdir/runtest.vim[607]..function 
> > RunTheTest[57]..Test_glob2regpat_valid line 8: Expected '.*' but got '$'
> >   
> >   TEST FAILURE
> >   make[4]: *** [Makefile:53: report] Error 1
> 
> The difference between these two builds is that we switched from gcc-13
> to gcc-14. If I build with gcc-13, the test passes. If I build with
> gcc-14 and -O1, the build passes.
> 
> I'm trying to narrow down what gcc-14 change introduced the problem.
> Other big-endian platforms aren't seeing the same problem, so it seems
> more like a compiler problem than a code problem to me.

Bisecting shows the problem was introduced by
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111294.

I'm going to reassign to gcc and will work around the issue in Vim's
build for now.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to