In the latest headers (obtained here http://www.ti.com/tool/msp430-gcc-opensource) for msp430-elf-gcc, the iomacros.h is broken when you try to compile even simple c++ code.
See the discussion here:
http://e2e.ti.com/support/microcontrollers/msp430/f/166/p/355154/1251963.aspx#1251963