Why GCC doesn't optimize out deletion of null pointers in C++? – stackoverflow.com 04:00 Posted by Unknown No Comments Consider a simple program: int main() { int* ptr = nullptr; delete ptr; } With GCC (7.2), there is a call instruction regarding to operator delete in the resulting program. With Clang and Intel ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitShould I oppose reviewers whose results I show to be wrong? – academia.stackexchange.comWhat is the silver strip behind crystal in the PCB? – electronics.stackexchange.comIs there a simple proof of this inequality? – math.stackexchange.comCounting the number of values in each interval – mathematica.stackexchange.comIs a product of two modulus functions the modulus of the product of the functions? – math.stackexchange.comDo micro-organisms survive and live normally in a zero-g environment? – biology.stackexchange.com
0 Comment to "Why GCC doesn't optimize out deletion of null pointers in C++? – stackoverflow.com"
Post a Comment