[Bug middle-end/27132] Fold does not canonicalize i - -1

2006-10-23 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-10-23 07:19 --- Subject: Bug 27132 Author: rguenth Date: Mon Oct 23 07:19:34 2006 New Revision: 117969 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117969 Log: 2006-10-24 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/27132] Fold does not canonicalize i - -1

2006-10-23 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2006-10-23 07:20 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/27132] Fold does not canonicalize i - -1

2006-04-12 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-12 12:53 --- Testcase: /* { dg-do compile } */ /* { dg-options -fdump-tree-gimple } */ int foo(int i) { return i - -1; } /* { dg-final { scan-tree-dump i \\+ 1 gimple } } */ /* { dg-final { cleanup-tree-dump gimple } } */

[Bug middle-end/27132] Fold does not canonicalize i - -1

2006-04-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-12 17:34 --- Yes I already filed a couple bugs about turning this on for the !flag_wrapv case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27132

[Bug middle-end/27132] Fold does not canonicalize i - -1

2006-04-12 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-04-12 17:39 --- You need to fix PR 25148 first before fixing this bug really otherwise you will get a testsuite failure as I got before. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/27132] Fold does not canonicalize i - -1

2006-04-12 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-04-12 18:06 --- This is basicially PR 23295. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added