Your change to final.c

Richard Earnshaw rearnsha@arm.com
Fri Oct 19 10:31:00 GMT 2001


>     Your latest change to final.c breaks the ARM bootstrap.  There's nothing 
>     in the spec for an ASM that says that the number of references to the 
>     operands must be less that MAX_RECOG_OPERANDS (which is an internal 
>     definition anyway), so we are overflowing this array when we try to output 
>     the following ASM statement:
> 
> 
> I thought there was.  Doesn't reload depend on this?  What is the proper
> bound, then?

Well, an asm statement has a limit on the number of distinct operands that 
may be passed to it (10), but not on the number of times they can be 
referenced.  After all, the latter is just part of printing the output; 
reload never needs to know how that is done.



More information about the Gcc-bugs mailing list