Andi's gcc hacks