[LLVMbugs] [Bug 15864] New: _Atomic auto is accepted but not deduced

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 29 09:33:37 PDT 2013


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: unassignedclangbugs at nondot.org
          Reporter: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130429/571cce51/attachment.html>


More information about the llvm-bugs mailing list