Why does gcc not have a warning option for &x+k where x is an identifier or result of . or -> operator and k!=0,1 (!=0 if dereferenced)?
-
-
This is probably going to be the deciding factor that convinces me to kill the current musl default path-specific -Os/-O3 config and use -O2 by default for everything. Broken warnings are not fun.
Show this thread -
Hm, nope. -Os includes it too. And it works on a minimal test case but not the case that I hit in real code in musl...
Show this thread -
And here's the resulting bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87192 …
Show this thread
End of conversation
New conversation -
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.