bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/21118] New: As silently converts registers to immediates


From: nikita at karetnikov dot org
Subject: [Bug gas/21118] New: As silently converts registers to immediates
Date: Thu, 09 Feb 2017 08:25:31 +0000

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

            Bug ID: 21118
           Summary: As silently converts registers to immediates
           Product: binutils
           Version: 2.27
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: nikita at karetnikov dot org
  Target Milestone: ---

Tested on 32-bit PowerPC Debian in QEMU: when compiled with -mregnames, addi
r30,r30,r5 becomes addi r30,r30,5 when disassembled. Yes, the instruction
expects an immediate as the third argument and add works as expected, but I'd
like to get at least a warning. Nothing is printed with -Wall -Werror.

-- 
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]