This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37569] Loop incorrectly optimized to endless loop with -Os/-O2/-O3
- From: "ppr at melexis dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2008 10:57:55 -0000
- Subject: [Bug c/37569] Loop incorrectly optimized to endless loop with -Os/-O2/-O3
- References: <bug-37569-16736@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from ppr at melexis dot com 2008-09-18 10:57 -------
(In reply to comment #10)
This workaround doesn't work with GCC 3.4.3 (the base for our 16-bit port). It
does work with the latest GCC4.3 though.
Anyway, thanks for your support, and for explaining the reasons behind the
compiler's behaviour.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37569