public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Gcc -O(1-3) produce worse code on MPC5200
@ 2005-10-22  1:13 Amir Bukhari
  0 siblings, 0 replies; 2+ messages in thread
From: Amir Bukhari @ 2005-10-22  1:13 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Gcc -O(1-3) produce worse code on MPC5200
@ 2005-10-22  1:13 Amir Bukhari
  0 siblings, 0 replies; 2+ messages in thread
From: Amir Bukhari @ 2005-10-22  1:13 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-22  1:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-22  1:13 Gcc -O(1-3) produce worse code on MPC5200 Amir Bukhari
  -- strict thread matches above, loose matches on Subject: below --
2005-10-22  1:13 Amir Bukhari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).