This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/36613] [4.1/4.2/4.3/4.4 Regression] likely codegen bug



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]