Krister Walfridsson’s old blog

Random thoughts on programming languages, compilers, operating systems, etc.

Monday, June 25, 2018

Useful GCC address sanitizer checks not enabled by default

›
Some useful address sanitizer checks are disabled by default because they are relatively expensive (or, as for the std::vector checking, n...
2 comments:
Sunday, June 10, 2018

On an example from “What Else Has My Compiler Done For Me Lately?”

›
One of the examples in Matt Godbolt’s C++Now 2018 talk “ What Else Has My Compiler Done For Me Lately? ” is the function void maxArray ( ...
1 comment:
Thursday, April 12, 2018

Compilation time – -std=c++98 vs. -std=c++11

›
I saw on twitter that it takes more than twice as much time compiling the Ogre graphics engine using GCC than when using Clang. My experi...
3 comments:
Saturday, March 3, 2018

Detecting incorrect C++ STL usage

›
The GCC and LLVM sanitizers are great for finding problems in C++ code, but they do not detect problems with incorrect STL usage. For examp...
1 comment:
Sunday, February 4, 2018

GCC command options for debugging – -Og and -g3

›
I listened to a recent CppCast episode where Balázs Török talked about game development and mentioned that C++ abstractions make the code ...
Sunday, January 21, 2018

GCC back end performance tuning

›
This is part six of a series “ Writing a GCC back end ”. Cost model – TARGET_RTX_COSTS The compiler often has different options for ho...
1 comment:
Tuesday, December 12, 2017

More about GCC instruction patterns

›
This is part five of a series “ Writing a GCC back end ”. The previous post about GCC’s low-level IR did only contain the minimum to g...
6 comments:
Sunday, October 29, 2017

Excessive GCC memory usage for large std::bitset arrays

›
The C++ slack channel had a discussion last week about the code #include <array> #include <bitset> #include <cstddef>...
2 comments:
‹
›
Home
View web version
Powered by Blogger.