https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117830

            Bug ID: 117830
           Summary: [14 Regression] Miscompilation of 464.h264ref at -O2
                    -march=generic
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: needs-bisection, wrong-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pheeck at gcc dot gnu.org
            Blocks: 26163
  Target Milestone: ---
              Host: x86_64-linux
            Target: x86_64-linux

Compiling the 464.h264ref 2006 SPEC CPU benchmark with -O2 -march=generic (you
may also need -std=gnu17 to build this) results in

*** Miscompare of foreman_ref_baseline_encodelog.out; for details see
   
/home/gcc/buildworker/source/cpu2006/benchspec/CPU2006/464.h264ref/run/run_peak_ref_amd64-m64-mine.0000/foreman_ref_baseline_encodelog.out.mis

The file contains this:

0015:  0000(IDR)   21952 0 28  37.383  41.260  42.850        0       0     FRM 
  99    
       0000(IDR)   21968 0 28  37.378  41.260  42.850        0       0     FRM 
  99    
                       ^    
0016:  0001(P)      3024 0 28  36.868  41.036  42.720        0       0     FRM 
   0    
       0001(P)      3032 0 28  36.869  41.044  42.715        0       0     FRM 
   0    
                       ^    
0017:  0002(P)      4120 0 28  36.875  40.936  42.683        0       0     FRM 
   2    
       0002(P)      4072 0 28  36.847  40.949  42.691        0       0     FRM 
   2    
                       ^    
0018:  0003(P)      4552 0 28  36.851  40.950  42.670        0       0     FRM 
   2    
       0003(P)      4632 0 28  36.843  40.979  42.673        0       0     FRM 
   2    
                       ^    
0019:  0004(P)      4952 0 28  36.848  40.815  42.407        0       0     FRM 
   2    
       0004(P)      4856 0 28  36.821  40.846  42.417        0       0     FRM 
   2    
                       ^    
0020:  0005(P)      4448 0 28  36.775  40.691  42.386        0       0     FRM 
   1    
       0005(P)      4488 0 28  36.780  40.718  42.345        0       0     FRM 
   1    
                       ^    
0021:  0006(P)      3944 0 28  36.689  40.740  42.206        0       0     FRM 
   1    
       0006(P)      3888 0 28  36.680  40.665  42.063        0       0     FRM 
   1    
                       ^    
0022:  0007(P)      4040 0 28  36.698  40.821  42.262        0       0     FRM 
   0    
       0007(P)      4088 0 28  36.676  40.817  42.125        0       0     FRM 
   0    
                       ^    
0023:  0008(P)      4104 0 28  36.751  40.824  42.114        0       0     FRM 
   0    
       0008(P)      4056 0 28  36.722  40.899  41.939        0       0     FRM 
   0    
                       ^    
0024:  0009(P)      4576 0 28  36.724  40.773  41.954        0       0     FRM 
   1    
       0009(P)      4496 0 28  36.679  40.845  41.847        0       0     FRM 
   1

This started happening somewhere between
r15-5183-g9e423b5c99c897
r15-5747-gfd62fdc5e1b3c4


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163
[Bug 26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

Reply via email to