[x265] GCC 4.8.2 warning in slicetype.cpp (aggr. loop opt.) 64b HBD only

Mario *LigH* Rohkrämer friends at ligh.de
Wed Feb 25 09:52:41 CET 2015


Only while compiling for x86-64 with HIGH_BIT_DEPTH:

+----
h:/MSYS/home/Entwicklung/x265/source/encoder/slicetype.cpp: In member  
function 'void x265::LookaheadTLD::lowresIntraEstimate(x265::Lowres&)':
h:/MSYS/home/Entwicklung/x265/source/encoder/slicetype.cpp:262:135:  
warning: iteration 17u invokes undefined behavior  
[-Waggressive-loop-optimizations]
                  neighbours[1][i]           = (neighbours[0][i -  
1]           + (neighbours[0][i] << 1)           + neighbours[0][i +  
1]      + 2) >> 2;
                                                                                                                                        ^
cc1plus.exe: note: containing loop
+----

-- 

Fun and success!
Mario *LigH* Rohkrämer
mailto:friends at ligh.de
 


More information about the x265-devel mailing list