Commit mthomas changes to GCC and port those changes to IAR