Tagged With: GCC/Clang

Quick Update on C++ Compiler Bug Hunt (overall, 15 bugs reported, 8 already fixed)

May 8, 2018 by “No Bugs” Bunny

Some time ago, I wrote a post about kscope – mini-project on finding and reporting bugs in modern C++ compilers. The point was that there is a way to use C++ facilities to make C++ code self-mutating (more strictly – pseudo-randomized using externally supplied ITHARE_KSCOPE_SEED macro), which allows finding certain classes of bugs during randomized […]

Filed under: OtherReports

Tagged With: C/C++GCC/ClangMSVC
Read more

On Programming Language Complexity, or Our Brain as a CPU with 7+-2 Registers

March 20, 2018 by “No Bugs” Bunny


Quote:

Let’s consider our brain as a CPU, which consists of the control unit, ALU, and 7+-2 registers.

Another Quote:

Moving C++ one step farther from being a brainfuck is IMNSHO always a Good Thing(tm)

Filed under: On.ProgrammingProgramming Languages

Tagged With: C/C++GCC/Clang
Read more

C++: Thoughts on Dealing with Signed/Unsigned Mismatch

March 6, 2018 by “No Bugs” Bunny

C++: Thoughts on Dealing with Signed/Unsigned Mismatch - Post preview image 0U" width="inherit" height="inherit">

Quote:

we’re just narrowly avoiding a disaster without understanding how close we were

Another Quote:

there is a chance that intuitive::lt MIGHT be a good thing to make behaviour of our C++ code to correspond better to our-expectations-when-we’re-reading-it

Filed under: On.ProgrammingTips and TricksProgramming LanguagesOptimizations

Tagged With: C/C++GCC/Clang
Read more

How to Report C++ Compiler Bugs

February 27, 2018 by “No Bugs” Bunny

How to Report C++ Compiler Bugs - Post preview image

Quote:

the bug MUST be reproducible

Another Quote:

did you know that in a case of a signed integer overflow, compiler is allowed to generate code which formats your hard drive?

Filed under: On.ProgrammingProgramming LanguagesOtherReports

Tagged With: C/C++GCC/ClangMSVC
Read more