When using GCC 4.3.2 in a ARM7 (LPC2387) environment, if I have one process that creates and deletes a lot one class instance using new and delete, and that process waits on serial interrupt, sometimes the SP register gets zeroed and I have a data abort. The weird thing is that creating and removing the instance using static declaration (creating a new block for example), the problem doesn’t occur. It always occur only with new and delete.
If I use GCC 4.2 (tried with 4.2.2 and 4.2.4), the problem doesn’t occur.
What I want to know is if someone have any similar problem or if someone have success with GCC 4.3