[Bug middle-end/33714] [4.2 Regression] ivopts miscompiles insn-output.c

2007-10-22 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2007-10-22 08:38 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.3


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



[Bug middle-end/33714] [4.2 Regression] ivopts miscompiles insn-output.c

2007-10-12 Thread rakdver at gcc dot gnu dot org


--- Comment #4 from rakdver at gcc dot gnu dot org  2007-10-12 22:27 ---
Subject: Bug 33714

Author: rakdver
Date: Fri Oct 12 22:26:47 2007
New Revision: 129277

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129277
Log:
PR tree-optimization/33714
* tree-ssa-loop-ivopts.c (constant_multiple_of): Pass the arguments to
division in the correct order.

* gcc.dg/tree-ssa/pr33714.c: New test.


Added:
branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/tree-ssa/pr33714.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/tree-ssa-loop-ivopts.c


-- 


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



[Bug middle-end/33714] [4.2 Regression] ivopts miscompiles insn-output.c

2007-10-11 Thread rakdver at gcc dot gnu dot org


--- Comment #3 from rakdver at gcc dot gnu dot org  2007-10-12 03:03 ---
(In reply to comment #2)
 Confirmed.  You need HWI of 32bits to trigger the problem.  Maybe latent on
 the trunk (I didn't check if it fails there, too).

The problem was fixed in mainline in this commit (I somehow did not realize
that this code was present also in 4.2):

2006-12-13  Zdenek Dvorak [EMAIL PROTECTED]

* tree-ssa-loop-ivopts.c:
...
(constant_multiple_of): Fix order of operators for division.
...


-- 


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



[Bug middle-end/33714] [4.2 Regression] ivopts miscompiles insn-output.c

2007-10-09 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2007-10-09 16:16 ---
Confirmed.  You need HWI of 32bits to trigger the problem.  Maybe latent on
the trunk (I didn't check if it fails there, too).


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org, rakdver at gcc dot gnu
   ||dot org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
 GCC target triplet||i?86-*-*
   Keywords||wrong-code
  Known to fail||4.2.2
  Known to work||4.1.1
   Last reconfirmed|-00-00 00:00:00 |2007-10-09 16:16:38
   date||
Summary|ivopts miscompiles insn-|[4.2 Regression] ivopts
   |output.c|miscompiles insn-output.c


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



[Bug middle-end/33714] [4.2 Regression] ivopts miscompiles insn-output.c

2007-10-09 Thread rakdver at gcc dot gnu dot org


-- 

rakdver at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rakdver at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2007-10-09 16:16:38 |2007-10-09 16:51:25
   date||


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