[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FW: FW: [openrisc] GCC problem



* rchowdsl (rchowdsl@pacbell.net) wrote:
> 
> I am porting small RTOS to OR1200 platform using gcc-3.2.3.
> 
> Selected compiler options are:
>     rtos.o: rtos.c    or32-uclinux-gcc -O2 -c -g -o $@ $?
> 
> Attached are examples of source code where system crashes,
> as well as 2 versions of the assembly code generated by the
> compiler when optimization is turned off (nonoptimized.s)
> and when optimization is on with level 2 (optimized.s).

could you please also send me definitions of:

RTOS_ENTER_CRITICAL()
RTOS_EXIT_CRITICAL()

if you are willing to dig a little
deeper you can try finding out which optimization is responsible for the
problem.

regards,
p.
--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml