[llvm-bugs] [Bug 28547] New: Error "Non-constant offsets error are not supported" parsing assembly with comments

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 14 02:11:12 PDT 2016


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

            Bug ID: 28547
           Summary: Error "Non-constant offsets error are not supported"
                    parsing assembly with comments
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pierregousseau14 at gmail.com
                CC: llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com
    Classification: Unclassified

clang 3.9 @275278

-----------------
repro.asm:

.intel_syntax
vmovaps xmm15, xmmword ptr [rip+ones] # +1.0, +1.0, +1.0, +1.0

$ clang -c repro.asm
repro.asm:2:39: error: Non-constant offsets are not supported!
vmovaps xmm15, xmmword ptr [rip+ones] # +1.0, +1.0, +1.0, +1.0
                                      ^
-----------------

This seems to have been introduced by r273007 which introduce a change to how
"CPPHash Directives" are handled during assembly parsing.

-- 
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/20160714/28283d7f/attachment.html>


More information about the llvm-bugs mailing list