LLVM's opt is very effective. I had a bug in my compiler such that it didn't compile all side effects, and opt removed the entire program!
Related Posts
New version of difftastic is out! In this release:
* Improved git integration
* Polished the side-by-side display, particularly on large screens
* Fixed a nasty crash
https://github.com/Wilfred/difftastic/releases/tag/0.61.0
An ad hoc, informally-specified, bug-ridden, slow implementation of half of a text adventure game -- or as I like to call it, a compiler.
I've started keeping a list of particularly interesting bugs and patches that I've worked on: https://github.com/Wilfred/interesting-code
The time that I once removed *a single closing paren* in Emacs is still my favourite.