[llvm-bugs] [Bug 30356] New: ARM/Windows compilation broken by r278788

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Sep 12 12:47:42 PDT 2016


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

            Bug ID: 30356
           Summary: ARM/Windows compilation broken by r278788
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: martin at martin.st
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17246
  --> https://llvm.org/bugs/attachment.cgi?id=17246&action=edit
Example that shows the issue

The changes in r278788 (with r278789 applied on top) broke compilation of code
containing divisions for ARM/Windows.

When compiling, it errors out with "fatal error: error in backend: out of range
pc-relative fixup value". When the new changes are commented out, the resulting
code seems just fine though, the included CBZ branches are well in range and
behave properly.

The issue can be reproduced by compiling the attached C source file:

clang -target armv7-windows-msvc test.c -c -o test.o -O2

(It can also be reproduced without -O2.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160912/a5a082f8/attachment.html>


More information about the llvm-bugs mailing list