News for hackers. Stuff that matters.
Re:“gcc will quietly break nearly half of all the packages t... by makomk on Saturday October 24, 2015 @02:38PM (#10444453)
Even C compiler developers can't always get it right. There have been a few bugs where, for example, one compiler pass optimised a struct initialisation into a single write that wrote into the slack space after the end of the struct, and a subsequent pass detected this undefined behaviour and removed the initialisation altogether. (These optimisation tricks inherently make compiler development more risky, because they mean that composing safe compiler passes is likely to create something unsafe.)

There are no comments on this comment yet.