[Bug inline-asm/93648] New: Inline assembly and C++ references cause uninitialized read
rzhikharevich@yandex-team.ru
gcc-bugzilla@gcc.gnu.org
Mon Feb 10 08:51:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93648
Bug ID: 93648
Summary: Inline assembly and C++ references cause uninitialized
read
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: inline-asm
Assignee: unassigned at gcc dot gnu.org
Reporter: rzhikharevich@yandex-team.ru
Target Milestone: ---
Created attachment 47809
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47809&action=edit
Triggering code
Passing a char[16] reference operand to inline assembly causes an uninitialized
memory read. Changing the '+' modifier to '=' turns it into an uninitialized
register read. See the attachment for details.
More information about the Gcc-bugs
mailing list