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

            Bug ID: 51501
           Summary: Assertion `IRFuncTy == TypeFromVal' failed.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: unassignedclangb...@nondot.org
          Reporter: stefan.pe...@syrmia.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

Created attachment 25145
  --> https://bugs.llvm.org/attachment.cgi?id=25145&action=edit
Reproducer for the issue

I ran into an issue when compiling with clang with enabled assertions. The
issue has to do with function pointers, variadic functions and typedeffing. Not
sure what else to say. The attached reproducer is as minimal as I could get it.
Removing anything (including unused typedef) makes the assertion go away.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to