This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2008 12:28:46 -0000
- Subject: [Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug
- References: <bug-36613-12544@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-06-24 12:28 -------
We expand
25 return left << right;
to
sall %cl, %ecx
but we initialized %ecx from
movb %dl, %cl
so later the comparison against zero fails due to the upper part of ecx
being uninitialized.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |uros at gcc dot gnu dot org
Component|middle-end |target
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36613