This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/51455] Possible uninitialized register use when array subscript is unsigned
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 07 Dec 2011 19:28:29 +0000
- Subject: [Bug c/51455] Possible uninitialized register use when array subscript is unsigned
- Auto-submitted: auto-generated
- References: <bug-51455-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51455
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-07 19:28:29 UTC ---
movzbl 0x20d(%rsp),%eax
is the same as:
movzbq 0x20d(%rsp),%rax
as all l instructions zero extend to q.