[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-30 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-30 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #11 from hjl at gcc dot gnu.org 2012-10-30 21:35:42 UTC --- Author: hjl Date: Tue Oct 30 21:35:35 2012 New Revision: 192996 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192996 Log: Add another testcase for PR midd

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 H.J. Lu changed: What|Removed |Added Attachment #28566|0 |1 is obsolete|

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #9 from H.J. Lu 2012-10-30 01:36:26 UTC --- This helps: diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 43d4cb8..d076ad6 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -5460,6 +5460,7 @@ strip_address_mutations (rtx *l

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #8 from H.J. Lu 2012-10-30 01:24:09 UTC --- [hjl@gnu-tools-1 pr55116]$ cat x.cc typedef struct rtx_def *rtx; enum machine_mode { VOIDmode }; enum rtx_code { CONST_INT, NEG, CONST, PLUS, NOT, MINUS }; enum rtx_class { RTX_CONST_

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #7 from H.J. Lu 2012-10-30 00:10:55 UTC --- (In reply to comment #6) > Created attachment 28566 [details] > A testcase > > [hjl@gnu-tools-1 prev-gcc]$ ./xgcc -B./ -O2 -mx32 -S /tmp/x.ii You need to add -maddress-mode=lon

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #6 from H.J. Lu 2012-10-30 00:08:28 UTC --- Created attachment 28566 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28566 A testcase [hjl@gnu-tools-1 prev-gcc]$ ./xgcc -B./ -O2 -mx32 -S /tmp/x.ii /tmp/x.ii: In function ‘rtx_de

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #3 from hjl at gcc dot gnu.org 2012-10-29 23:09:08 UTC --- Author: hjl Date: Mon Oct 29 23:09:03 2012 New Revision: 192967 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192967 Log: Add a testcase for PR middle-end/

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #2 from Vladimir Makarov 2012-10-29 16:37:08 UTC --- Author: vmakarov Date: Mon Oct 29 16:36:57 2012 New Revision: 192949 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192949 Log: 2012-10-29 Vladimir Makarov

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 Richard Biener changed: What|Removed |Added Target||x32-*-* Target Milestone|---

[Bug middle-end/55116] [4.8 Regression] LRA failed to decompose ASHIFT

2012-10-29 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 --- Comment #1 from H.J. Lu 2012-10-29 13:14:03 UTC --- ix86_decompose_address has case ASHIFT: if (index) return 0; index = XEXP (op, 0); tmp = XEXP (op, 1);