[superh-gnu-discuss] Compiler error for SH7045?
Andrew Stubbs
ams at codesourcery.com
Fri Apr 15 19:41:58 UTC 2011
On 15/04/11 16:49, Olaf Kaluza wrote:
> Is this a compiler error? Is there a compiler switch I can use to
> avoid this problem? It is a little bit sad to develope a huge project
> with -O0.
Sorry Olaf, CodeSourcery toolchains only target SH-4A, SH4A-DSP, and
SH-2A. It has not been configured or tested for other SH targets.
If you require support for other SH targets please contact
sales at codecourcery.com.
However, I believe this probably is a compiler error. I'm not familiar
enough with SH-2 to say why, but the problem appears to be related to
the use of delay slots on that arch? On the other hand, it could be that
some other part of your program changing the contents of the registers
before they get to the code you quote.
Sorry not to be more help.
Andrew
More information about the superh-gnu-discuss
mailing list