Are you doing optimizations? Have you tried various optimizations? I have
found thumb problems with -O3, and sometimes -O2 going down to -O1 might
fix it...Based on the command line you have given here you dont have these
turned on (so its -O0) I would take a crack at -O1 and -O2 before throwing
in the towel...
If possible please go ahead and send that bug report into the gcc crew,
perhaps someday they will work on these problems (I have one or two in
there myself)...Cant get them fixed if we dont turn them in...
Did you try it with just -mthumb and without the -mthumb-interwork?
what version of gcc are you using?
David
At 06:36 AM 3/17/2003 +0000, you wrote:
>I'd like to recompile my binary in thumb rather than arm. When I
>compile like this:
>CFLAGS = -I $(INCDIR2) -I $(INCDIR) -I $(PRJDIR) -mthumb-interwork -
>mlong-calls -c -g -Wall -fverbose-asm
>
>The code is compiled in arm ok. However, if I add -mthumb like this:
>
>CFLAGS = -I $(INCDIR2) -I $(INCDIR) -I $(PRJDIR) -mthumb -mthumb-
>interwork -mlong-calls -c -g -Wall -fverbose-asm
>
>I get a long error message, but I think this is the pertainant info:
>
>main.cpp:12: Internal compiler error in extract_insn, at recog.c:2218
>It is asking me to submit a bug report, which i'll do when I
>determine how to fix the problem.
>
>Seems that there is a global class declaration at main.cpp:12. When I
>comment out this line, the compiler doesn't give the same complaint,
>but of course the interupt table is global and needs to call members
>of this class.
>
>Anyone experienced this problem?
>
>
>
>
>
>
>Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/