This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/33714] [4.2 Regression] ivopts miscompiles insn-output.c
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Oct 2007 03:03:31 -0000
- Subject: [Bug middle-end/33714] [4.2 Regression] ivopts miscompiles insn-output.c
- References: <bug-33714-12182@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla 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 <dvorakz@suse.cz>
* tree-ssa-loop-ivopts.c:
...
(constant_multiple_of): Fix order of operators for division.
...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33714