I've read the errata for the M4 on the Stellaris Launchpad. According to it there is a serious hardware bug regarding unaligned accesses that practically renders that MCU unusable for critical applications.
My first question is: Can a -mno-unaligned-access option in GCC be a workaround? Can somebody confirm that it won't produce unaligned access instructions? I'll test it myself when I get a hand on the Stellaris. Or maybe I'll just try to compile some code myself and check the assembly listing. Anyway the confirmation that it works (or not) from other person would be great.
My second question: I'm just a student of electrical engineering and a hobbyist, but I don't understand how TI can release MCU with such critical bug and don't mention any workaround if it exists. (Maybe the reason is that the mentioned compilers in the official paper on this bug do not have such option as GCC have (assuming it really works - my first question.))