https://llvm.org/bugs/show_bug.cgi?id=25968
Bug ID: 25968 Summary: ICE with anonymous struct returned from static class function Product: clang Version: 3.7 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: jeanmichael.celer...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15534 --> https://llvm.org/bugs/attachment.cgi?id=15534&action=edit Source file and sh file produced by clang Here is the code on which clang ICEs : class bug { static auto F() { struct anon { }; return anon(); } }; Result : % clang++ -std=c++14 test.cpp clang-3.7: error: unable to execute command: Segmentation fault (core dumped) clang-3.7: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.7.0 (tags/RELEASE_370/final) Target: x86_64-unknown-linux-gnu Thread model: posix clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang-3.7: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang-3.7: note: diagnostic msg: /tmp/test-8395dd.cpp clang-3.7: note: diagnostic msg: /tmp/test-8395dd.sh clang-3.7: note: diagnostic msg: ******************** [2] 20860 exit 254 clang++ -std=c++14 test.cpp -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs