---For the msp430-elf target, the gcc-6-branch fails to build when configured to enable C++ support.
The gcc-5-branch successfully builds with C++ support. Backporting r244727 and r243310 to the gcc-6-branch fixes the two build issues, so the build completes successfully. I don't have write access to the GCC repository, so would appreciateif someone could backport these patches to gcc-6-branch if that is acceptable.