[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
--- Comment #11 from mikpe at it dot uu dot se 2009-10-21 10:51 --- *** Bug 40547 has been marked as a duplicate of this bug. *** -- mikpe at it dot uu dot se changed: What|Removed |Added CC||mikpe at it dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
--- Comment #10 from jakub at gcc dot gnu dot org 2009-07-15 11:26 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
--- Comment #9 from jakub at gcc dot gnu dot org 2009-07-15 11:23 --- Subject: Bug 40747 Author: jakub Date: Wed Jul 15 11:23:22 2009 New Revision: 149681 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149681 Log: PR middle-end/40747 * fold-const.c (fold_cond_expr_with_comparison): When folding < and <= to MIN, make sure the MIN uses the same type as the comparison's operands. * gcc.c-torture/execute/pr40747.c: New test. Added: branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr40747.c Modified: branches/gcc-4_4-branch/gcc/ChangeLog branches/gcc-4_4-branch/gcc/fold-const.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
--- Comment #8 from jakub at gcc dot gnu dot org 2009-07-15 10:18 --- Subject: Bug 40747 Author: jakub Date: Wed Jul 15 10:17:54 2009 New Revision: 149675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149675 Log: PR middle-end/40747 * fold-const.c (fold_cond_expr_with_comparison): When folding < and <= to MIN, make sure the MIN uses the same type as the comparison's operands. * gcc.c-torture/execute/pr40747.c: New test. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr40747.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
--- Comment #7 from jakub at gcc dot gnu dot org 2009-07-15 09:48 --- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00842.html -- jakub at gcc dot gnu dot org changed: What|Removed |Added URL||http://gcc.gnu.org/ml/gcc- ||patches/2009- ||07/msg00842.html http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
-- jakub at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
--- Comment #6 from jakub at gcc dot gnu dot org 2009-07-15 08:28 --- I'm already bootstrapping/regtesting a fix, will post afterwards. If it gets approved quickly, I'll include it in 4.4.1-rc1 I plan to roll today. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|4.4.2 |4.4.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
--- Comment #5 from sezeroz at gmail dot com 2009-07-15 08:19 --- This bug may result in unreliable binary outputs, why is it targeted for fixing in 4.4.2 and not in 4.4.1? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747
[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above
-- steven at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40747