@marcan42 compile with -fno-whole-program ?
-
-
-
@twoscomplement I'm compiling only, not linking, and that doesn't change anything. I'm using -O2. It doesn't delete the function with <=-O1. - Show replies
New conversation -
-
-
@marcan42 I'm no gcc user, but why shouldn't that be optimized away? I mean it does nothing after all. -
@SwissHttp It doesn't do nothing: if you were to use the return address it would still usually *work* if not optimized (but it's illegal C).
End of conversation
New conversation -
-
-
@marcan42@Freerunnering Thats undefined behavior for you.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.