This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Gcc -O(1-3) produce worse code on MPC5200
- From: "Amir Bukhari" <ufz6 at rz dot uni-karlsruhe dot de>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Sat, 22 Oct 2005 03:16:50 +0200
- Subject: Gcc -O(1-3) produce worse code on MPC5200
I use macraiger gcc port for PPC. When I compile my software with gcc -O0
zero the program work as excpected
But I as soon as I use optimization option like -O2 my software crash. I
can't figure what case this until now. My assumtion is that the stack is got
currupted.
I use uC-II RTOS as a kernel.
Has someone experience such case?
Have someone some hints for me?
Thanks,
Amir