[Bug middle-end/28814] [4.1 regression] in compare_values, at tree-vrp.c:415

2006-09-01 Thread rguenth at gcc dot gnu dot org


--- Comment #9 from rguenth at gcc dot gnu dot org  2006-09-01 21:49 ---
Subject: Bug 28814

Author: rguenth
Date: Fri Sep  1 21:49:05 2006
New Revision: 116642

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116642
Log:
2006-09-01  Richard Guenther  [EMAIL PROTECTED]

Backport from mainline:
PR middle-end/28814
* fold-const.c (fold_binary): Fold temporary to correct
type before constructing new comparison.

* gcc.dg/torture/pr28814.c: New testcase.

Added:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/torture/pr28814.c
  - copied unchanged from r116439,
trunk/gcc/testsuite/gcc.dg/torture/pr28814.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/fold-const.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28814



[Bug middle-end/28814] [4.1 regression] in compare_values, at tree-vrp.c:415

2006-09-01 Thread rguenth at gcc dot gnu dot org


--- Comment #10 from rguenth at gcc dot gnu dot org  2006-09-01 21:49 
---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28814



[Bug middle-end/28814] [4.1 regression] in compare_values, at tree-vrp.c:415

2006-08-25 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2006-08-25 22:02 ---
Fixed in 4.2.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to work|4.0.3   |4.0.3 4.2.0
Summary|[4.1/4.2 regression] in |[4.1 regression] in
   |compare_values, at tree-|compare_values, at tree-
   |vrp.c:415   |vrp.c:415


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28814