[Bug rtl-optimization/41917] Strange athrithmetic result with -O3
--- Comment #4 from jakub at gcc dot gnu dot org 2009-11-03 22:40 --- Subject: Bug 41917 Author: jakub Date: Tue Nov 3 22:40:08 2009 New Revision: 153875 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153875 Log: PR rtl-optimization/41917 * rtlanal.c (num_sign_bit_copies1) : If sign bit of second operand isn't known to be 0, return 1. * gcc.c-torture/execute/pr41917.c: New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr41917.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/rtlanal.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41917
[Bug rtl-optimization/41917] Strange athrithmetic result with -O3
--- Comment #3 from jakub at gcc dot gnu dot org 2009-11-03 22:36 --- Subject: Bug 41917 Author: jakub Date: Tue Nov 3 22:36:39 2009 New Revision: 153874 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153874 Log: PR rtl-optimization/41917 * rtlanal.c (num_sign_bit_copies1) : If sign bit of second operand isn't known to be 0, return 1. * gcc.c-torture/execute/pr41917.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr41917.c Modified: trunk/gcc/ChangeLog trunk/gcc/rtlanal.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41917
[Bug rtl-optimization/41917] Strange athrithmetic result with -O3
--- Comment #5 from mikpe at it dot uu dot se 2009-11-14 16:32 --- This wrong-code bug also occurs with 4.3.4 on i686-linux, but not with 4.2.4 or 4.1.2, making it a regression. The patch for 4.4 applies cleanly to 4.3 and fixes the bug there with no new regressions (I tested i686, powerpc64, and arm). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41917
[Bug rtl-optimization/41917] Strange athrithmetic result with -O3
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|jakub at gcc dot gnu dot org|unassigned at gcc dot gnu ||dot org Status|ASSIGNED|NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41917