[llvm-bugs] [Bug 38930] New: Segmentation fault

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 13 05:23:47 PDT 2018


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

            Bug ID: 38930
           Summary: Segmentation fault
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: weiss at wsoptics.de
                CC: llvm-bugs at lists.llvm.org

The following creduced code snippet results in a segmentation fault:

  template < typename... >
  class a  
  template< typename b>
  class a<>
  : b
   a() {



clang++ -O0 -emit-llvm -std=c++17 -c t.ii

1.      t.ii:6:8: current parser token '{'
2.      t.ii:4:3: parsing struct/union/class body 'a<>'
clang-6.0: error: unable to execute command: Segmentation fault
clang-6.0: error: clang frontend command failed due to signal (use -v to see
invocation)

-- 
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/20180913/680f1a36/attachment.html>


More information about the llvm-bugs mailing list