This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2009 03:51:23 -0000
- Subject: [Bug middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used
- References: <bug-39333-15488@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from pinskia at gcc dot gnu dot org 2009-03-03 03:51 -------
for (i = 0, j = 0; i < lattice->size || forced_loop; i++) {
i is signed and lattice->size is unsigned so there might be some wrapping.
plus if (lattice->size > 0) {
will be changed into lattice->size != 0 .
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39333