Log in

View Full Version : Bugs in new GCC 12.0.0 20210826


Jamaika
27th August 2021, 06:49
Traditionally after the holidays programs have more errors. For volunteers reporting their creators. :D
http://msystem.waw.pl/x265/mingw-gcc1200-20210826.7z

JPEGXL/Brotli
during GIMPLE pass: modref
huffman.c: In function 'BrotliBuildSimpleHuffmanTable':
huffman.c:261:10: internal compiler error: in merge, at ipa-modref-tree.h:203
261 | uint32_t BrotliBuildSimpleHuffmanTable(HuffmanCode* table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.

AOM
decodeframe.c: In function 'decode_partition':
decodeframe.c:1262:30: warning: array subscript 22 is above array bounds of 'const uint8_t[22]' {aka 'const unsigned char[22]'} [-Warray-bounds]
1262 | const int bw = mi_size_wide[bsize];
| ~~~~~~~~~~~~^~~~~~~
In file included from c:\msys1200\x86_64-w64-mingw32\include\av1\common\blockd.h:21,
from c:\msys1200\x86_64-w64-mingw32\include\config\aom_dsp_rtcd.h:17,
from decodeframe.c:16:
c:\msys1200\x86_64-w64-mingw32\include\av1\common\common_data.h:35:22: note: while referencing 'mi_size_wide'
35 | static const uint8_t mi_size_wide[BLOCK_SIZES_ALL] = {
| ^~~~~~~~~~~~

ethread.c: In function 'av1_compute_num_workers_for_mt':
ethread.c:2683:40: warning: array subscript 11 is above array bounds of 'int[11]' [-Warray-bounds]
2683 | cpi->ppi->p_mt_info.num_mod_workers[i] =
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from ethread.c:17:
c:\msys1200\x86_64-w64-mingw32\include\av1\encoder\encoder.h:1483:7: note: while referencing 'num_mod_workers'
1483 | int num_mod_workers[NUM_MT_MODULES];
| ^~~~~~~~~~~~~~~

XEVD
xevdm.c: In function 'xevdm_platform_init':
xevdm.c:3270:30: warning: assignment to 'void (* const (*)[6])(void *, void *, int, int, int)' from incompatible pointer type 'void (* const*)(void *, void *, int, int, int)' [-Wincompatible-pointer-types]
3270 | ctx->fn_itxb = xevd_tbl_itxb;
| ^