[Bug middle-end/27302] Fold does not fold (i j) == (j i) to 1
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-02-06 12:38 --- Subject: Bug 27302 Author: rguenth Date: Tue Feb 6 12:38:32 2007 New Revision: 121644 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121644 Log: 2007-02-06 Richard Guenther [EMAIL PROTECTED] PR middle-end/27302 * gcc.dg/torture/pr27302-2.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr27302-2.c Modified: trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27302
[Bug middle-end/27302] Fold does not fold (i j) == (j i) to 1
--- Comment #5 from patchapp at dberlin dot org 2006-05-15 19:37 --- Subject: Bug number PR27302 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-05/msg00344.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27302
[Bug middle-end/27302] Fold does not fold (i j) == (j i) to 1
--- Comment #3 from rguenth at gcc dot gnu dot org 2006-05-10 10:22 --- Subject: Bug 27302 Author: rguenth Date: Wed May 10 10:22:39 2006 New Revision: 113670 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=113670 Log: 2006-05-10 Richard Guenther [EMAIL PROTECTED] PR tree-optimization/27302 * fold-const.c (operand_equal_p): For two comparisons, try comparison of one comparison code swapped if that yields the same code. * gcc.dg/torture/pr27302.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr27302.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27302
[Bug middle-end/27302] Fold does not fold (i j) == (j i) to 1
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-05-10 11:03 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27302
[Bug middle-end/27302] Fold does not fold (i j) == (j i) to 1
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-05-06 13:52 --- Working on a patch. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2006-04-25 18:31:38 |2006-05-06 13:52:08 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27302
[Bug middle-end/27302] Fold does not fold (i j) == (j i) to 1
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-25 18:31 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-04-25 18:31:38 date|| Summary|Fold does not fold i j == |Fold does not fold (i j) |j i to 1 |== (j i) to 1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27302