added one gcc wrong-code bug and one crash bug