[Bug tree-optimization/40057] Incorrect right shift by 31 with long long

2009-05-07 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug tree-optimization/40057] Incorrect right shift by 31 with long long

2009-05-07 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2009-05-07 11:33 --- Indeed, I can reproduce with 32-bit HWI 20090414 4.4 branch, building now head of 4.4 branch with 32-bit HWI. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40057

[Bug tree-optimization/40057] Incorrect right shift by 31 with long long

2009-05-07 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-05-07 11:29 --- Can't reproduce with x86_64-linux 4.4.0 with -m32, perhaps a 32-bit HWI issue, will check... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40057

[Bug tree-optimization/40057] Incorrect right shift by 31 with long long

2009-05-07 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-05-07 11:19 --- Works for me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40057

[Bug tree-optimization/40057] Incorrect right shift by 31 with long long

2009-05-07 Thread rahul at icerasemi dot com
--- Comment #1 from rahul at icerasemi dot com 2009-05-07 11:11 --- Suspect tree-ter optimisation pass. Compiling with -O1 -fno-tree-ter produces the right result. Using -fdump-tree-optimized shows SSA-Gimple to change from shiftTest (const ulonglong var) { int D.1842; : if (var >>