[arm-gnu] CM3 - "cmp sp, r0" - error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] CM3 - "cmp sp, r0" - error
- To: <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] CM3 - "cmp sp, r0" - error
- From: "FreeRTOS.org Info" <nospam@xxxxxxxxxxxx>
- Date: Fri, 20 Feb 2009 19:02:17 -0000
Hi,
Using eabi GCC V4.3.2 the code
"cmp sp, r0"
generates the error
"Error: r13 not allowed here -- `cmp r0,sp'"
but I think that is a valid THUMB2 instruction. Before this GCC version the
code built with no error.
Is this a bug? Is there a bug list somewhere, I could not find one.
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.
+ http://www.FreeRTOS.org/Documentation
FreeRTOS eBook - learn how to use an RTOS!