------- Comment #16 from sezeroz at gmail dot com 2009-07-31 18:16 ------- (In reply to comment #15) > Created an attachment (id=18279) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18279&action=view) [edit] > [ __attribute__((optimize("0"))) difference ] > > Hmm, __attribute__((optimize("0"))) does seem to disable inlining and the code > is linked to libmingwex.a version of non-inlined stat(). [Attached the diff > of > *.s files generated without and with __attribute__((optimize("0"))) added at > -O3. ] The thing is, the non-inlined code is the same and why does it not > have > the issue... >
Nah.. the file is from using 4.4, but the disabling of inline shouldn't change from 4.4 to 4.5, I guess.. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40909