[Nasm-bugs] [Bug 3392534] Duplicate label makes NASM try to "find valid values" for 1000+ passes

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Fri Dec 7 17:20:54 PST 2018


https://bugzilla.nasm.us/show_bug.cgi?id=3392534

--- Comment #3 from H. Peter Anvin <hpa at zytor.com> ---
No surprise there. That was a *huge* change, but very necessary for the
subsection by label support to actually work.

So if anything was going to break stuff, it would have been that.

I think that what we need to do is to keep track which passn we encountered the
definition of a label in, and if it is re-defined in the same passn then that's
an error.

I do think it would be nice to allow redefinition *with the same value*,
though. Perhaps we could make it a suppressible warning instead of an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list