https://bugs.llvm.org/show_bug.cgi?id=38505

            Bug ID: 38505
           Summary: [IA] errors for some prefixes but not others
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Created attachment 20666
  --> https://bugs.llvm.org/attachment.cgi?id=20666&action=edit
memcpy_minimal.S

See the attached file for reproduction steps.

What's curious is that clang produces the warning:

 error: too many operands for instruction

for the first instance but not the second.  Also, the gas errors are a little
more helpful:

memcpy_minimal.S:11: Error: Thumb does not support this addressing mode -- `ldr
r3,[r1],#4'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to