[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-06-23 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-06-23 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 --- Comment #12 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2011-06-23 14:57:50 UTC --- Author: hjl Date: Thu Jun 23 14:57:45 2011 New Revision: 175335 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=175335 Log: Revert the last change

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-27 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 --- Comment #10 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2011-05-27 13:38:45 UTC --- Author: hjl Date: Fri May 27 13:38:41 2011 New Revision: 174332 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=174332 Log: Properly handle

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-21 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Attachment #24315|0 |1 is

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 --- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2011-05-20 17:19:26 UTC --- We have #10 0x01121405 in simplify_and_const_int_1 (mode=DImode, varop=0x70acbdf8, constop=4294967294) at

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2011-05-20 18:27:51 UTC --- (gdb) bt #0 force_to_mode (x=0x70acbdf8, mode=DImode, mask=4294967294, just_select=0) at /export/gnu/import/git/gcc-x32/gcc/combine.c:8154 #1

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 --- Comment #3 from H.J. Lu hjl.tools at gmail dot com 2011-05-20 19:01:14 UTC --- This patch works: diff --git a/gcc/combine.c b/gcc/combine.c index 8af86f2..60c6e13 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -10184,6 +10184,7 @@

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 --- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2011-05-20 20:12:10 UTC --- The problem is Breakpoint 3, force_to_mode (x=0x70acbde0, mode=DImode, mask=4294967295, just_select=0) at

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 --- Comment #6 from H.J. Lu hjl.tools at gmail dot com 2011-05-20 20:59:43 UTC --- Created attachment 24312 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24312 A patch I am testing this patch.

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Attachment #24312|0 |1 is

[Bug rtl-optimization/49088] Combine fails to properly handle zero-extension and signed int constant

2011-05-20 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49088 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Attachment #24314|0 |1 is