[Top][All Lists]

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

Re: erroneous "non-constant expression" error

From: Zefram
Subject: Re: erroneous "non-constant expression" error
Date: Sat, 25 Jun 2005 19:29:59 +0100

Alan Modra wrote:
>Incidentally, I don't see how the code you posted could
>cause this to happen since the .p2align ought to cause a new frag to be
>started, but I do know that this sort of problem can happen.  A
>workaround is to align at the start of your macro.

Aligning at the start of the macro does not fix it, but it does change
where the problem occurs.  This is not too surprising, since at the
beginning of the macro it's already aligned from the previous macro call.
Is there any mechanism to explicitly start a new frag?  Or is there a
way for me to predict the end of the frag so that I can avoid it?


Ah, that mentions the listing option making a difference.  I discovered
that but forgot to mention it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]