|
|
Log in / Subscribe / Register

Compiler writer's views

Compiler writer's views

Posted Apr 26, 2018 22:39 UTC (Thu) by jschrod (subscriber, #1646)
In reply to: Compiler writer's views by wittenberg
Parent article: Security quotes of the week

Thanks for this pointer; that is really a scary thread.
I was a aware that too many applications demand -fwrapv nowadays, but didn't know why.

That bug discussion thread is reason to evaluate barring gcc usage in critical conditions.

Anybody can tell if the Clang developers are more reasonable if they receive that kind of problem report?


to post comments

Compiler writer's views

Posted Apr 27, 2018 6:35 UTC (Fri) by mjthayer (guest, #39183) [Link]

Shouldn't undefined behaviour sanitiser make GCC warn about optimising things away like this?

Compiler writer's views

Posted May 3, 2018 20:40 UTC (Thu) by nix (subscriber, #2304) [Link]

I doubt it. As several people pointed out in that bug report, the complaint was about an optimization GCC has been doing since the *early 90s*, and they were demanding extremely impolitely that it get ripped out as if it were something that had been added the previous week, and ignoring the response that it just isn't as simple as that.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds