This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
gcc(2.95 for ARM) optimize error
- From: "james chen" <james_ch1 at sina dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 27 Nov 2001 19:01:52 +0800
- Subject: [ECOS] gcc(2.95 for ARM) optimize error
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