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: unassignedclangb...@nondot.org
          Reporter: pierregoussea...@gmail.com
                CC: llvm-bugs@lists.llvm.org,
                    paul_robin...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to