[Bug tree-optimization/39339] [4.4 Regression] SRA miscompilation of vte
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Mar 2 10:52:00 GMT 2009
------- Comment #1 from jakub at gcc dot gnu dot org 2009-03-02 10:52 -------
Introduced in r132969.
During esra we have:
D.1656_34 = VIEW_CONVERT_EXPR<unsigned int>(screen_3(D)->defaults.attr);
D.1657_35 = D.1656_34 >> 23;
attr$B23F9_36 = (<unnamed-unsigned:9>) D.1657_35;
...
SR.8_37 = attr$B23F9_36 >> 7;
SR.9_50 = (unsigned int) SR.8_37;
SR.10_51 = SR.9_50 << 23;
SR.11_52 = SR.7_49 | SR.10_51;
D.1634_19->attr ={v} VIEW_CONVERT_EXPR<struct D>(SR.11_52);
That >> 7 is either wrong, or lacks corresponding << 7.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39339
More information about the Gcc-bugs
mailing list