A lot of GCC-related bugfixes