gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/osdep.c -o common/osdep.o -MMD -MF common/osdep.d
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/base.c -o common/base.o -MMD -MF common/base.d
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/cpu.c -o common/cpu.o -MMD -MF common/cpu.d
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/tables.c -o common/tables.o -MMD -MF common/tables.d
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/api.c -o encoder/api.o -MMD -MF encoder/api.d
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/win32thread.c -o common/win32thread.o -MMD -MF common/win32thread.d
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/mc.c -o common/mc-8.o -MMD -MF common/mc-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/predict.c -o common/predict-8.o -MMD -MF common/predict-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/pixel.c -o common/pixel-8.o -MMD -MF common/pixel-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/macroblock.c -o common/macroblock-8.o -MMD -MF common/macroblock-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/frame.c -o common/frame-8.o -MMD -MF common/frame-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/dct.c -o common/dct-8.o -MMD -MF common/dct-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/cabac.c -o common/cabac-8.o -MMD -MF common/cabac-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/common.c -o common/common-8.o -MMD -MF common/common-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/rectangle.c -o common/rectangle-8.o -MMD -MF common/rectangle-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/set.c -o common/set-8.o -MMD -MF common/set-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
common/cpu.c:111:22: warning: 'x264_getauxval' defined but not used [-Wunused-function]
  111 | static unsigned long x264_getauxval( unsigned long type )
      |                      ^~~~~~~~~~~~~~
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/quant.c -o common/quant-8.o -MMD -MF common/quant-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/deblock.c -o common/deblock-8.o -MMD -MF common/deblock-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/vlc.c -o common/vlc-8.o -MMD -MF common/vlc-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/mvpred.c -o common/mvpred-8.o -MMD -MF common/mvpred-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/bitstream.c -o common/bitstream-8.o -MMD -MF common/bitstream-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/analyse.c -o encoder/analyse-8.o -MMD -MF encoder/analyse-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/me.c -o encoder/me-8.o -MMD -MF encoder/me-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/ratecontrol.c -o encoder/ratecontrol-8.o -MMD -MF encoder/ratecontrol-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/set.c -o encoder/set-8.o -MMD -MF encoder/set-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/macroblock.c -o encoder/macroblock-8.o -MMD -MF encoder/macroblock-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/cabac.c -o encoder/cabac-8.o -MMD -MF encoder/cabac-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/cavlc.c -o encoder/cavlc-8.o -MMD -MF encoder/cavlc-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/encoder.c -o encoder/encoder-8.o -MMD -MF encoder/encoder-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/lookahead.c -o encoder/lookahead-8.o -MMD -MF encoder/lookahead-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/threadpool.c -o common/threadpool-8.o -MMD -MF common/threadpool-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/x86/mc-c.c -o common/x86/mc-c-8.o -MMD -MF common/x86/mc-c-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
In file included from encoder/rdo.c:53,
                 from encoder/analyse.c:33:
encoder/cavlc.c: In function 'cavlc_block_residual_internal':
encoder/cavlc.c:128:18: warning: variable 'i_sign' set but not used [-Wunused-but-set-variable=]
  128 |     unsigned int i_sign;
      |                  ^~~~~~
encoder/ratecontrol.c: In function 'vbv_pass2':
encoder/ratecontrol.c:2883:9: warning: variable 'iterations' set but not used [-Wunused-but-set-variable=]
 2883 |     int iterations = 0;
      |         ^~~~~~~~~~
encoder/rdo.c: In function 'quant_trellis_cabac':
encoder/rdo.c:834:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  834 |             ssd0[k] = ssd1[k];\
      |                       ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:847:17: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  847 |             ssd1[0] += (uint64_t)cost_siglast[0] * lambda2 >> ( CABAC_SIZE_BITS - LAMBDA_BITS );\
      |             ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:847:46: warning: dangling pointer to 'cost_siglast' may be used [-Wdangling-pointer=]
  847 |             ssd1[0] += (uint64_t)cost_siglast[0] * lambda2 >> ( CABAC_SIZE_BITS - LAMBDA_BITS );\
      |                                  ~~~~~~~~~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:789:13: note: 'cost_siglast' declared here
  789 |         int cost_siglast[3]; /* { zero, nonzero, nonzero-and-last } */\
      |             ^~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:848:55: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  848 |             levels_used = trellis_coef0_##ctx_hi( ssd0[0]-ssd1[0], nodes_cur, nodes_prev, level_tree, levels_used );\
      |                                                   ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:848:63: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  848 |             levels_used = trellis_coef0_##ctx_hi( ssd0[0]-ssd1[0], nodes_cur, nodes_prev, level_tree, levels_used );\
      |                                                           ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:72: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                                    ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:80: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                                            ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:55: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                   ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:63: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                           ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:852:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  852 |             levels_used = trellis_coef1_##ctx_hi( ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:852:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  852 |             levels_used = trellis_coef1_##ctx_hi( ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:853:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  853 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:853:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  853 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:856:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  856 |             levels_used = trellis_coefn_##ctx_hi( q-1, ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:856:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  856 |             levels_used = trellis_coefn_##ctx_hi( q-1, ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:857:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  857 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:857:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  857 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/x86/predict-c.c -o common/x86/predict-c-8.o -MMD -MF common/x86/predict-c-8.d -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/mc.c -o common/mc-10.o -MMD -MF common/mc-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/predict.c -o common/predict-10.o -MMD -MF common/predict-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/pixel.c -o common/pixel-10.o -MMD -MF common/pixel-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
In function 'get_diff_limited_q',
    inlined from 'init_pass2' at encoder/ratecontrol.c:3049:25,
    inlined from 'x264_8_ratecontrol_new' at encoder/ratecontrol.c:1149:17:
encoder/ratecontrol.c:2082:25: warning: array subscript [0, 2] is outside array bounds of 'double[3]' [-Warray-bounds=]
 2082 |     rcc->last_qscale_for[pict_type] = q;
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
encoder/ratecontrol.c: In function 'x264_8_ratecontrol_new':
encoder/ratecontrol.c:132:12: note: while referencing 'last_qscale_for'
  132 |     double last_qscale_for[3];  /* last qscale for a specific pict type, used for max_diff & ipb factor stuff */
      |            ^~~~~~~~~~~~~~~
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/macroblock.c -o common/macroblock-10.o -MMD -MF common/macroblock-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
In file included from ./common/common.h:122,
                 from encoder/set.c:27:
In function 'bs_realign',
    inlined from 'x264_8_sei_recovery_point_write' at encoder/set.c:581:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./common/base.h:43,
                 from ./common/common.h:30:
encoder/set.c: In function 'x264_8_sei_recovery_point_write':
encoder/set.c:577:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  577 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:577:5: note: in expansion of macro 'ALIGNED_4'
  577 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_8_sei_buffering_period_write' at encoder/set.c:633:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_8_sei_buffering_period_write':
encoder/set.c:629:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  629 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:629:5: note: in expansion of macro 'ALIGNED_4'
  629 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_8_sei_pic_timing_write' at encoder/set.c:655:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_8_sei_pic_timing_write':
encoder/set.c:651:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  651 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:651:5: note: in expansion of macro 'ALIGNED_4'
  651 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_8_sei_frame_packing_write' at encoder/set.c:686:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_8_sei_frame_packing_write':
encoder/set.c:682:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  682 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:682:5: note: in expansion of macro 'ALIGNED_4'
  682 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_8_sei_mastering_display_write' at encoder/set.c:727:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_8_sei_mastering_display_write':
encoder/set.c:723:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  723 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:723:5: note: in expansion of macro 'ALIGNED_4'
  723 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_8_sei_content_light_level_write' at encoder/set.c:752:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_8_sei_content_light_level_write':
encoder/set.c:748:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  748 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:748:5: note: in expansion of macro 'ALIGNED_4'
  748 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/frame.c -o common/frame-10.o -MMD -MF common/frame-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
In function 'bs_realign',
    inlined from 'x264_8_sei_alternative_transfer_write' at encoder/set.c:769:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_8_sei_alternative_transfer_write':
encoder/set.c:765:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  765 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:765:5: note: in expansion of macro 'ALIGNED_4'
  765 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_8_sei_dec_ref_pic_marking_write' at encoder/set.c:797:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_8_sei_dec_ref_pic_marking_write':
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/dct.c -o common/dct-10.o -MMD -MF common/dct-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
encoder/set.c:793:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  793 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:793:5: note: in expansion of macro 'ALIGNED_4'
  793 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/cabac.c -o common/cabac-10.o -MMD -MF common/cabac-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/common.c -o common/common-10.o -MMD -MF common/common-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/rectangle.c -o common/rectangle-10.o -MMD -MF common/rectangle-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/set.c -o common/set-10.o -MMD -MF common/set-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/quant.c -o common/quant-10.o -MMD -MF common/quant-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/deblock.c -o common/deblock-10.o -MMD -MF common/deblock-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/vlc.c -o common/vlc-10.o -MMD -MF common/vlc-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/mvpred.c -o common/mvpred-10.o -MMD -MF common/mvpred-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/bitstream.c -o common/bitstream-10.o -MMD -MF common/bitstream-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/analyse.c -o encoder/analyse-10.o -MMD -MF encoder/analyse-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/me.c -o encoder/me-10.o -MMD -MF encoder/me-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/ratecontrol.c -o encoder/ratecontrol-10.o -MMD -MF encoder/ratecontrol-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/set.c -o encoder/set-10.o -MMD -MF encoder/set-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/macroblock.c -o encoder/macroblock-10.o -MMD -MF encoder/macroblock-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/cabac.c -o encoder/cabac-10.o -MMD -MF encoder/cabac-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/cavlc.c -o encoder/cavlc-10.o -MMD -MF encoder/cavlc-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/encoder.c -o encoder/encoder-10.o -MMD -MF encoder/encoder-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c encoder/lookahead.c -o encoder/lookahead-10.o -MMD -MF encoder/lookahead-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/threadpool.c -o common/threadpool-10.o -MMD -MF common/threadpool-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
In file included from encoder/rdo.c:53,
                 from encoder/analyse.c:33:
encoder/cavlc.c: In function 'cavlc_block_residual_internal':
encoder/cavlc.c:128:18: warning: variable 'i_sign' set but not used [-Wunused-but-set-variable=]
  128 |     unsigned int i_sign;
      |                  ^~~~~~
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/x86/mc-c.c -o common/x86/mc-c-10.o -MMD -MF common/x86/mc-c-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
encoder/rdo.c: In function 'quant_trellis_cabac':
encoder/rdo.c:834:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  834 |             ssd0[k] = ssd1[k];\
      |                       ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:847:17: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  847 |             ssd1[0] += (uint64_t)cost_siglast[0] * lambda2 >> ( CABAC_SIZE_BITS - LAMBDA_BITS );\
      |             ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:847:46: warning: dangling pointer to 'cost_siglast' may be used [-Wdangling-pointer=]
  847 |             ssd1[0] += (uint64_t)cost_siglast[0] * lambda2 >> ( CABAC_SIZE_BITS - LAMBDA_BITS );\
      |                                  ~~~~~~~~~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:789:13: note: 'cost_siglast' declared here
  789 |         int cost_siglast[3]; /* { zero, nonzero, nonzero-and-last } */\
      |             ^~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:848:55: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  848 |             levels_used = trellis_coef0_##ctx_hi( ssd0[0]-ssd1[0], nodes_cur, nodes_prev, level_tree, levels_used );\
      |                                                   ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:848:63: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  848 |             levels_used = trellis_coef0_##ctx_hi( ssd0[0]-ssd1[0], nodes_cur, nodes_prev, level_tree, levels_used );\
      |                                                           ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:72: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                                    ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:80: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                                            ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:55: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                   ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:849:63: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  849 |             levels_used = trellis_coef1_##ctx_hi( ssd0[1]-ssd1[0], ssd1[1]-ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                                                           ~~~~^~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:852:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  852 |             levels_used = trellis_coef1_##ctx_hi( ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:852:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  852 |             levels_used = trellis_coef1_##ctx_hi( ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:853:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  853 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:853:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  853 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:856:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  856 |             levels_used = trellis_coefn_##ctx_hi( q-1, ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:856:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  856 |             levels_used = trellis_coefn_##ctx_hi( q-1, ssd0[0], ssd1[0], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:857:27: warning: dangling pointer to 'ssd1' may be used [-Wdangling-pointer=]
  857 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:27: note: 'ssd1' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                           ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:857:27: warning: dangling pointer to 'ssd0' may be used [-Wdangling-pointer=]
  857 |             levels_used = trellis_coefn_##ctx_hi( q, ssd0[1], ssd1[1], cost_siglast, nodes_cur, nodes_prev, level_tree, levels_used, lambda2, level_state, levelgt1_ctx );\
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/rdo.c:815:18: note: 'ssd0' declared here
  815 |         uint64_t ssd0[2], ssd1[2];\
      |                  ^~~~
encoder/rdo.c:884:9: note: in expansion of macro 'TRELLIS_LOOP'
  884 |         TRELLIS_LOOP(1);
      |         ^~~~~~~~~~~~
encoder/ratecontrol.c: In function 'vbv_pass2':
encoder/ratecontrol.c:2883:9: warning: variable 'iterations' set but not used [-Wunused-but-set-variable=]
 2883 |     int iterations = 0;
      |         ^~~~~~~~~~
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64  -Wall -I. -I. -O2 -D_POSIX_C_SOURCE=200112L -std=gnu99 -D_GNU_SOURCE -fomit-frame-pointer -fno-tree-vectorize -fvisibility=hidden   -c common/x86/predict-c.c -o common/x86/predict-c-10.o -MMD -MF common/x86/predict-c-10.d -DHIGH_BIT_DEPTH=1 -DBIT_DEPTH=10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/cpu-a.o common/x86/cpu-a.asm -MD common/x86/cpu-a.d
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/dct-64-8.o common/x86/dct-64.asm -MD common/x86/dct-64-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/trellis-64-8.o common/x86/trellis-64.asm -MD common/x86/trellis-64-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/bitstream-a-8.o common/x86/bitstream-a.asm -MD common/x86/bitstream-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
In function 'get_diff_limited_q',
    inlined from 'init_pass2' at encoder/ratecontrol.c:3049:25,
    inlined from 'x264_10_ratecontrol_new' at encoder/ratecontrol.c:1149:17:
encoder/ratecontrol.c:2082:25: warning: array subscript [0, 2] is outside array bounds of 'double[3]' [-Warray-bounds=]
 2082 |     rcc->last_qscale_for[pict_type] = q;
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
encoder/ratecontrol.c: In function 'x264_10_ratecontrol_new':
encoder/ratecontrol.c:132:12: note: while referencing 'last_qscale_for'
  132 |     double last_qscale_for[3];  /* last qscale for a specific pict type, used for max_diff & ipb factor stuff */
      |            ^~~~~~~~~~~~~~~
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/const-a-8.o common/x86/const-a.asm -MD common/x86/const-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/cabac-a-8.o common/x86/cabac-a.asm -MD common/x86/cabac-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
In file included from ./common/common.h:122,
                 from encoder/set.c:27:
In function 'bs_realign',
    inlined from 'x264_10_sei_recovery_point_write' at encoder/set.c:581:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./common/base.h:43,
                 from ./common/common.h:30:
encoder/set.c: In function 'x264_10_sei_recovery_point_write':
encoder/set.c:577:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  577 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:577:5: note: in expansion of macro 'ALIGNED_4'
  577 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_10_sei_buffering_period_write' at encoder/set.c:633:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_10_sei_buffering_period_write':
encoder/set.c:629:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  629 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:629:5: note: in expansion of macro 'ALIGNED_4'
  629 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_10_sei_pic_timing_write' at encoder/set.c:655:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_10_sei_pic_timing_write':
encoder/set.c:651:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  651 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:651:5: note: in expansion of macro 'ALIGNED_4'
  651 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/dct-a-8.o common/x86/dct-a.asm -MD common/x86/dct-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
In function 'bs_realign',
    inlined from 'x264_10_sei_frame_packing_write' at encoder/set.c:686:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_10_sei_frame_packing_write':
encoder/set.c:682:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  682 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:682:5: note: in expansion of macro 'ALIGNED_4'
  682 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/deblock-a-8.o common/x86/deblock-a.asm -MD common/x86/deblock-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
In function 'bs_realign',
    inlined from 'x264_10_sei_mastering_display_write' at encoder/set.c:727:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_10_sei_mastering_display_write':
encoder/set.c:723:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  723 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:723:5: note: in expansion of macro 'ALIGNED_4'
  723 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_10_sei_content_light_level_write' at encoder/set.c:752:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_10_sei_content_light_level_write':
encoder/set.c:748:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  748 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:748:5: note: in expansion of macro 'ALIGNED_4'
  748 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_10_sei_alternative_transfer_write' at encoder/set.c:769:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_10_sei_alternative_transfer_write':
encoder/set.c:765:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  765 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:765:5: note: in expansion of macro 'ALIGNED_4'
  765 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
In function 'bs_realign',
    inlined from 'x264_10_sei_dec_ref_pic_marking_write' at encoder/set.c:797:5:
./common/bitstream.h:120:23: warning: array subscript 0 is outside array bounds of 'uint8_t[100]' {aka 'unsigned char[100]'} [-Warray-bounds=]
  120 |         s->cur_bits = endian_fix32( M32(s->p) );
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
encoder/set.c: In function 'x264_10_sei_dec_ref_pic_marking_write':
encoder/set.c:793:24: note: at offset [-3, -1] into object 'tmp_buf' of size 100
  793 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |                        ^~~~~~~
./common/osdep.h:284:35: note: in definition of macro 'DECLARE_ALIGNED'
  284 | #define DECLARE_ALIGNED( var, n ) var __attribute__((aligned(n)))
      |                                   ^~~
encoder/set.c:793:5: note: in expansion of macro 'ALIGNED_4'
  793 |     ALIGNED_4( uint8_t tmp_buf[100] );
      |     ^~~~~~~~~
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/mc-a-8.o common/x86/mc-a.asm -MD common/x86/mc-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/mc-a2-8.o common/x86/mc-a2.asm -MD common/x86/mc-a2-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/pixel-a-8.o common/x86/pixel-a.asm -MD common/x86/pixel-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/predict-a-8.o common/x86/predict-a.asm -MD common/x86/predict-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/quant-a-8.o common/x86/quant-a.asm -MD common/x86/quant-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/sad-a-8.o common/x86/sad-a.asm -MD common/x86/sad-a-8.d -DBIT_DEPTH=8 -Dprivate_prefix=x264_8
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/dct-64-10.o common/x86/dct-64.asm -MD common/x86/dct-64-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/trellis-64-10.o common/x86/trellis-64.asm -MD common/x86/trellis-64-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/bitstream-a-10.o common/x86/bitstream-a.asm -MD common/x86/bitstream-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/const-a-10.o common/x86/const-a.asm -MD common/x86/const-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/cabac-a-10.o common/x86/cabac-a.asm -MD common/x86/cabac-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/dct-a-10.o common/x86/dct-a.asm -MD common/x86/dct-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/deblock-a-10.o common/x86/deblock-a.asm -MD common/x86/deblock-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/mc-a-10.o common/x86/mc-a.asm -MD common/x86/mc-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/mc-a2-10.o common/x86/mc-a2.asm -MD common/x86/mc-a2-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/pixel-a-10.o common/x86/pixel-a.asm -MD common/x86/pixel-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/predict-a-10.o common/x86/predict-a.asm -MD common/x86/predict-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/quant-a-10.o common/x86/quant-a.asm -MD common/x86/quant-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
nasm -I. -I. -DARCH_X86_64=1 -I./common/x86/ -f win64 -DSTACK_ALIGNMENT=16 -DPIC -o common/x86/sad16-a-10.o common/x86/sad16-a.asm -MD common/x86/sad16-a-10.d -DBIT_DEPTH=10 -Dprivate_prefix=x264_10
rm -f libx264.a
gcc-ar rc libx264.a common/osdep.o common/base.o common/cpu.o common/tables.o encoder/api.o common/win32thread.o common/mc-8.o common/predict-8.o common/pixel-8.o common/macroblock-8.o common/frame-8.o common/dct-8.o common/cabac-8.o common/common-8.o common/rectangle-8.o common/set-8.o common/quant-8.o common/deblock-8.o common/vlc-8.o common/mvpred-8.o common/bitstream-8.o encoder/analyse-8.o encoder/me-8.o encoder/ratecontrol-8.o encoder/set-8.o encoder/macroblock-8.o encoder/cabac-8.o encoder/cavlc-8.o encoder/encoder-8.o encoder/lookahead-8.o common/threadpool-8.o common/x86/mc-c-8.o common/x86/predict-c-8.o  common/mc-10.o common/predict-10.o common/pixel-10.o common/macroblock-10.o common/frame-10.o common/dct-10.o common/cabac-10.o common/common-10.o common/rectangle-10.o common/set-10.o common/quant-10.o common/deblock-10.o common/vlc-10.o common/mvpred-10.o common/bitstream-10.o encoder/analyse-10.o encoder/me-10.o encoder/ratecontrol-10.o encoder/set-10.o encoder/macroblock-10.o encoder/cabac-10.o encoder/cavlc-10.o encoder/encoder-10.o encoder/lookahead-10.o common/threadpool-10.o common/x86/mc-c-10.o common/x86/predict-c-10.o common/x86/cpu-a.o common/x86/dct-64-8.o common/x86/trellis-64-8.o common/x86/bitstream-a-8.o common/x86/const-a-8.o common/x86/cabac-a-8.o common/x86/dct-a-8.o common/x86/deblock-a-8.o common/x86/mc-a-8.o common/x86/mc-a2-8.o common/x86/pixel-a-8.o common/x86/predict-a-8.o common/x86/quant-a-8.o common/x86/sad-a-8.o common/x86/dct-64-10.o common/x86/trellis-64-10.o common/x86/bitstream-a-10.o common/x86/const-a-10.o common/x86/cabac-a-10.o common/x86/dct-a-10.o common/x86/deblock-a-10.o common/x86/mc-a-10.o common/x86/mc-a2-10.o common/x86/pixel-a-10.o common/x86/predict-a-10.o common/x86/quant-a-10.o common/x86/sad16-a-10.o
gcc-ranlib libx264.a
