Hi, I am using eCos, when I use -O0 or -O1 to compile eCos and my test application, it runs OK, but If I GCC optimize to -O2, it will failed. After check it's assembler, I find that GCC(2.95 for ARM) has changed application's code order and also miss some code. have anyone found this? Best Regards, james