This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36232] Optimizer removes condition check to terminate loop
- From: "nick dot spence at freescale dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 May 2008 20:41:39 -0000
- Subject: [Bug c/36232] Optimizer removes condition check to terminate loop
- References: <bug-36232-16181@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from nick dot spence at freescale dot com 2008-05-13 20:41 -------
1) Since most bootloaders are written in C your view is very interesting but
probably not shared by everyone else working with embedded software.
2) If the compiler now treats this as an undefined condition it should report a
warning instead of silently creating invalid code.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36232