This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

solution thumb/exceptions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]