[llvm-bugs] [Bug 40691] New: clang segmentation fault during compilation of simple C++ template in --std=c++17 mode

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 11 07:18:59 PST 2019


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

            Bug ID: 40691
           Summary: clang segmentation fault during compilation of simple
                    C++ template in --std=c++17 mode
           Product: new-bugs
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: orangewarrior at 0000ffff.space
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

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

clang segfaults when compiling following code:

template<typename T>
struct wrong_name {

};

template<typename T>
struct index {

        wrong_name(){};
};


segfault happens only when using --std=c++17 switch (--std=c++14 works)

-- 
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/20190211/141382d5/attachment.html>


More information about the llvm-bugs mailing list