Marek Polacek
Marek Polacek's contributions
Article
Testing GCC in the wild
Marek Polacek
Currently, the GCC testsuite contains more than fifty thousand tests which make up to two million lines of code. Since we, the GCC developers, try hard to avoid regressions in the compiler, almost every change to the compiler or to a related library requires a new test or a set of tests to be added. Hence the internal testsuite keeps growing at a rapid pace. It goes without saying that a new change should not break any existing test. Despite...
Article
GCC Undefined Behavior Sanitizer - ubsan
Marek Polacek
(See this article to install GCC 7 on Red Hat Enterprise Linux via yum .) Not every software bug has as serious consequences as seen in the Ariane 5 rocket crash. Notwithstanding that, bugs cost software companies a lot of money every year and upset customers, users, and developers. Some bugs happen as a result of undefined behavior occurring in the program. Undefined behavior is a concept known especially in the C and C++ languages which means that the semantics...
![gnu logo GNU C library](/sites/default/files/styles/list_item_thumb/public/blog/2014/09/gnu-logo.png?itok=97X-o7kf)
Article
Testing GCC in the wild
Marek Polacek
Currently, the GCC testsuite contains more than fifty thousand tests which make up to two million lines of code. Since we, the GCC developers, try hard to avoid regressions in the compiler, almost every change to the compiler or to a related library requires a new test or a set of tests to be added. Hence the internal testsuite keeps growing at a rapid pace. It goes without saying that a new change should not break any existing test. Despite...
![gnu logo GNU C library](/sites/default/files/styles/list_item_thumb/public/blog/2014/09/gnu-logo.png?itok=97X-o7kf)
Article
GCC Undefined Behavior Sanitizer - ubsan
Marek Polacek
(See this article to install GCC 7 on Red Hat Enterprise Linux via yum .) Not every software bug has as serious consequences as seen in the Ariane 5 rocket crash. Notwithstanding that, bugs cost software companies a lot of money every year and upset customers, users, and developers. Some bugs happen as a result of undefined behavior occurring in the program. Undefined behavior is a concept known especially in the C and C++ languages which means that the semantics...