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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to