[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?
>http://sources.redhat.com/bugzilla/show_bug.cgi?id=997
Ah, that mentions the listing option making a difference. I discovered
that but forgot to mention it.
-zefram