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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to