[New-bugs-announce] [issue21168] unicodeobject.c: likely type-punning may break strict-aliasing rules

STINNER Victor report at bugs.python.org
Mon Apr 7 13:09:24 CEST 2014


New submission from STINNER Victor:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%203.4/builds/48/steps/compile/logs/stdio

Objects/unicodeobject.c: In function '_PyUnicode_Init':
Objects/unicodeobject.c:582: warning: likely type-punning may break strict-aliasing rules: object '*data' of main type 'unsigned int' is referenced at or around Objects/unicodeobject.c:582 and may be aliased to object 'linebreak' of main type 'short unsigned int' which is referenced at or around Objects/unicodeobject.c:14933.

According to koobs, it's gcc 4.2.1 on this buildbot.

----------
messages: 215694
nosy: haypo
priority: normal
severity: normal
status: open
title: unicodeobject.c: likely type-punning may break strict-aliasing rules
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21168>
_______________________________________


More information about the New-bugs-announce mailing list