[llvm-bugs] [Bug 26255] New: Checks for UserLabelPrefix in freestanding mode are incorrect (?)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 22 07:36:30 PST 2016


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

            Bug ID: 26255
           Summary: Checks for UserLabelPrefix in freestanding mode are
                    incorrect (?)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andreybokhanko at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Rafael believes (http://reviews.llvm.org/D16295#329929) that the following
checks for __USER_LABEL_PREFIX_ macro in tools/clang/test/Preprocessor/init.c
are incorrect:

init.c:5216 // PPC603E:#define __USER_LABEL_PREFIX__ _
init.c:4837 // NVPTX32:#define __USER_LABEL_PREFIX__ _
init.c:2402 // I386:#define __USER_LABEL_PREFIX__ _
init.c:7343 // X86_64:#define __USER_LABEL_PREFIX__ _
init.c:1376 // ARM:#define __USER_LABEL_PREFIX__ _
init.c:418 // AARCH64:#define __USER_LABEL_PREFIX__ _
init.c:6970 // SPARC:#define __USER_LABEL_PREFIX__ _
init.c:6785 // S390X:#define __USER_LABEL_PREFIX__ _
init.c:4649 // MSP430:#define __USER_LABEL_PREFIX__ _
init.c:7149 // TCE:#define __USER_LABEL_PREFIX__ _
init.c:2993 // MIPS32BE:#define __USER_LABEL_PREFIX__ _

They are added by:

hfinkel (PPC603E)
nobled (NVPTX32)
lattner (I386, X86_64, ARM, SPARC, MSP430, TCE)
kevinqin (AARCH64)
uweigand (S390X)
atanasyan (MIPS32BE)

I CCed all of you to this PR; if you believe your check is correct, please add
a note. If you agree it's not, let me know -- I will change it (or do this
yourself, if you have a free minute).

Andrey

-- 
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/20160122/fd5b5a69/attachment.html>


More information about the llvm-bugs mailing list