[New-bugs-announce] [issue40455] GCC 10 compiler warnings
STINNER Victor
report at bugs.python.org
Thu Apr 30 16:51:08 EDT 2020
New submission from STINNER Victor <vstinner at python.org>:
GCC 10.0.1 on PPC64LE Fedora Rawhide LTO 3.x buildbot:
https://buildbot.python.org/all/#/builders/351/builds/406
Objects/longobject.c: In function ‘_PyLong_Frexp’:
Objects/longobject.c:2928:33: warning: ‘x_digits[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2928 | x_digits[0] |= 1;
| ^~
In function ‘assemble_lnotab’,
inlined from ‘assemble_emit’ at Python/compile.c:5709:25,
inlined from ‘assemble’ at Python/compile.c:6048:18:
Python/compile.c:5663:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
5663 | *lnotab++ = k;
| ~~~~~~~~~~^~~
----------
components: Build
messages: 367785
nosy: vstinner
priority: normal
severity: normal
status: open
title: GCC 10 compiler warnings
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40455>
_______________________________________
More information about the New-bugs-announce
mailing list