This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
solution thumb/exceptions
- From: Sven Rehfuss <sven dot rehfuss at b2motion dot de>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 09 Jun 2004 19:04:56 +0200
- Subject: [ECOS] solution thumb/exceptions
- Organization: B2motion GmbH
Hi,
a few days ago I asked for help, because my application crashes in thumb
mode. The operator "new" throws an exception.
The problem is the optimization flag -O2. If I compile the toolchain
and/or application with -O2 I get the crahes. The compiler generates
code which is buggy (modify the stack before decrementing it). It is a
known problem of gcc 3.2.1 - 3.4.1.
Compiling all with -O1 is OK.
Regards,
Sven Rehfuß
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss