Thursday, August 1, 2013

Compilers in OpenBSD (marc.info)

A long time ago, in the first few years of the *BSD projects, the only free software compiler spanning the various platforms BSD systems were targeting was gcc...

Also, gcc 2.5 (at the time) had a few bugs, but not many. You could trust it to produce working code at any optimization level, and forget about it. In other words: there was no need to put any effort in maintaining the compiler, because it was (almost) bug-free...

And then C++98 came out, as well as C99, and it was time for serious work in gcc, if only to attempt to support the new features of these standards...

As an unavoidable consequence of this, something very important in the world order changed: gcc had bugs, and you were expected to accept that and cope with them...

Read more...