This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/36232] Optimizer removes condition check to terminate loop



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]