[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #18 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-04-27 09:44:05 UTC --- Fixed.
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #16 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-04-13 07:41:13 UTC --- Author: ramana Date: Wed Apr 13 07:41:08 2011 New Revision: 172363 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172363 Log: Fix PR target/48090 Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/config/arm/arm.md
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #17 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-04-13 07:56:00 UTC --- (In reply to comment #15) On Tue, Apr 12, 2011 at 01:53:48PM +, ramana at gcc dot gnu.org wrote: Still need to backport and test on the 4.6 branch. That is next. Small procedural note: it is preferred to go trunk - 4.6 - 4.5, rather than trunk - 4.5 - 4.6, even if the bug is reported against 4.5. Yes I know but it was just a function of what tree I had ready to test and finish at that point of time. Will do it in the right order from next time. I don't have a 4.4 tree handy and this bug should be latent there as well - so if someone wants to backport it please do so but I don't have the time to do it in the next couple of weeks. cheers Ramana
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #12 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-04-12 13:42:52 UTC --- Author: ramana Date: Tue Apr 12 13:42:48 2011 New Revision: 172318 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172318 Log: Fix PR target/48090 2011-04-12 Ramana Radhakrishnan ramana.radhakrish...@linaro.org PR target/48090 * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. Modified: trunk/gcc/ChangeLog trunk/gcc/config/arm/arm.md
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #13 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-04-12 13:52:49 UTC --- Author: ramana Date: Tue Apr 12 13:52:46 2011 New Revision: 172320 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172320 Log: Fix PR target/48090 Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/config/arm/arm.md
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #14 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-04-12 13:53:39 UTC --- Still need to backport and test on the 4.6 branch. That is next. Ramana
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 --- Comment #15 from froydnj at codesourcery dot com froydnj at codesourcery dot com 2011-04-12 13:55:57 UTC --- On Tue, Apr 12, 2011 at 01:53:48PM +, ramana at gcc dot gnu.org wrote: Still need to backport and test on the 4.6 branch. That is next. Small procedural note: it is preferred to go trunk - 4.6 - 4.5, rather than trunk - 4.5 - 4.6, even if the bug is reported against 4.5.
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Comment #11 from Ramana Radhakrishnan ramana at gcc dot gnu.org 2011-04-11 10:24:09 UTC --- (In reply to comment #10) (In reply to comment #9) I confirm that backporting r159644 and r159683 make things work. From comment 8, I guess that the bug is still there and that one can still hit it sooner or later, right ? (btw, amazing job) It probably papers over it as you guessed. This bug lacks proper analysis. The problem is latent in all versions of the compiler and is to do with the pattern *arm_negdi2 and has nothing to do with the afore mentioned revisions. Will submit this after a round of testing. Index: gcc/config/arm/arm.md === --- gcc/config/arm/arm.md(revision 172252) +++ gcc/config/arm/arm.md(working copy) @@ -3554,7 +3554,7 @@ ;; The constraints here are to prevent a *partial* overlap (where %Q0 == %R1). ;; The first alternative allows the common case of a *full* overlap. (define_insn *arm_negdi2 - [(set (match_operand:DI 0 s_register_operand =r,r) + [(set (match_operand:DI 0 s_register_operand =r,r) (neg:DI (match_operand:DI 1 s_register_operand 0,r))) (clobber (reg:CC CC_REGNUM))] TARGET_ARM
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED |NEW Last reconfirmed||2011.04.10 10:41:58 Version|unknown |4.5.2 Ever Confirmed|0 |1 --- Comment #10 from Richard Guenther rguenth at gcc dot gnu.org 2011-04-10 10:41:58 UTC --- (In reply to comment #9) I confirm that backporting r159644 and r159683 make things work. From comment 8, I guess that the bug is still there and that one can still hit it sooner or later, right ? (btw, amazing job) It probably papers over it as you guessed. This bug lacks proper analysis.
[Bug target/48090] [4.5 Regression] gcc 4.5.2 miscompilation when building on arm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48090 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code Component|c |target Known to work||4.4.5, 4.6.0 Target Milestone|--- |4.5.3 Summary|gcc 4.5.2 miscompilation|[4.5 Regression] gcc 4.5.2 |when building on arm|miscompilation when ||building on arm