http://llvm.org/bugs/show_bug.cgi?id=15864

            Bug ID: 15864
           Summary: _Atomic auto is accepted but not deduced
           Product: clang
           Version: trunk
          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

This crashes in CodeGen:

_Atomic auto n = 0;

... because we don't try to deduce the 'auto' type (because
getContainedAutoType doesn't find it). We can't deduce 'auto' in this position
anyway; we should either support such deduction and make it work or just reject
_Atomic auto.

-- 
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

Reply via email to