http://llvm.org/bugs/show_bug.cgi?id=19252
Bug ID: 19252
Summary: alignas on global variable with auto leads to crash
Product: clang
Version: 3.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 12288
--> http://llvm.org/bugs/attachment.cgi?id=12288&action=edit
output after invokation
clang is crashing when I use the alignas specifier on a global variable.
This happened with pretty complex sources first, but I was able to eliminate a
(realy) minimal "not working" example:
alignas(4) auto t = true;
Explicit stating the type (bool) works. So this seems to be something with auto
and alignas.
Invocation: clang++ -std=c++11 -c issue.cpp
Tell me if I can help you in any way!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs