[Bug target/83143] [SH]: Assembler messages: invalid operands (*UND* and .text sections) for `-'

olegendo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 24 14:37:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at kernel dot crashing.org

--- Comment #6 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to John Paul Adrian Glaubitz from comment #2)
> Created attachment 42708 [details]
> Generated assembly for nir_lower_int64.c (gzipped)

In the asm code I see the following line ...

.L3195:
        .long   nir_alu_instr_create@PLT-(.LPCS230+2-.)

... but the label .LPCS230 does not not exist in the file.  So I guess this is
where the error comes from.  But no idea why the label is not there.  AFAIR
Segher did some stuff for block reordering.  Maybe he's got any clue.


More information about the Gcc-bugs mailing list