bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/22912] .irp variable not expanding if followed by a parameter d


From: tnfchris at sourceware dot org
Subject: [Bug gas/22912] .irp variable not expanding if followed by a parameter defined earlier
Date: Fri, 20 Apr 2018 15:52:25 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=22912

Tamar Christina <tnfchris at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-04-20
                 CC|                            |tnfchris at sourceware dot org
     Ever confirmed|0                           |1

--- Comment #1 from Tamar Christina <tnfchris at sourceware dot org> ---
Another example

Something simple as

        .macro vect_indexed_inst I S T N
        .irp    x, 0, 3, 13, 23, 29
        .irp    y, 1, 4, 14, 24, 30
        .irp    z, 2, 5, 15, 25, 31
        \I v\x.\S\T, v\y.\S\T, v\z.\T[\N]
        .endr
        .endr
        .endr
        .endm

doesn't work, and adding \() does nothing. The problem is the parser seems to
think that . is part of the irp name.

The workaround seem to be to move the . into the iterator values. But this just
seems broken..

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


reply via email to

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