------- Comment #8 from drepper at redhat dot com 2005-12-30 23:14 ------- > That is true but GCC is a C compiler and not a glibc implemention C compiler.
This doesn't mean anything. As soon as you configure gcc to target it to Linux the behavior of the runtime is as defined by the C library. gcc doesn't come with it's own C library so it cannot possibly override any decisions made about undefined behavior. I explicitly said that this optimization need ony be disabled for platforms using glibc. I don't give a rats ass what other platforms do. -- drepper at redhat dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|DUPLICATE | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25609