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 tree-optimization/52760] Revision 185599 causes miscompare on sphinx3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52760

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-29 09:33:31 UTC ---
Created attachment 27028
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27028
gcc48-pr52760.patch

Untested fix.  Using VCE here is undesriable, on big-endian it turns the shift
count 8 into 0 (because vector element type is unsigned short, not int as the
type of op).  Generally, the type of the rhs2 of a shift/rotate is unrelated to
the lhs/rhs1 types.


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