[llvm-bugs] [Bug 25786] New: Assertion "Chunk.Kind == DeclaratorChunk::Function" failed with regparm attribute

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 9 03:16:35 PST 2015


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

            Bug ID: 25786
           Summary: Assertion "Chunk.Kind == DeclaratorChunk::Function"
                    failed with regparm attribute
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andrey.kuleshov at intel.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15423
  --> https://llvm.org/bugs/attachment.cgi?id=15423&action=edit
assertion log

================ENVIRONMENT====================
OS: Linux 
clang: trunk

================REPRODUCER======================
void (__attribute__ ((regparm (2), stdcall)) * NAME) (int);

===============ASSERTION========================
clang-3.8: PATH/llvm/tools/clang/lib/Sema/SemaType.cpp:4794: void
{anonymous}::DeclaratorLocFiller::VisitFunctionTypeLoc(clang::FunctionTypeLoc):
Assertion `Chunk.Kind == DeclaratorChunk::Function' failed.
<.......>
<FULL ASSERTION STACK attached to assertion.log>

--------------------
Intel Software Engineer
Andrey Kuleshov

-- 
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/20151209/d35265b8/attachment.html>


More information about the llvm-bugs mailing list