[LLVMbugs] [Bug 22042] New: Dependent alignof crashes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Dec 28 02:08:10 PST 2014


            Bug ID: 22042
           Summary: Dependent alignof crashes
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: david.majnemer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

template <typename T> void Fun(T A) {
  typedef int __attribute__((__aligned__(A))) T1;
  int k1[__alignof__(T1)];

The evaluator doesn't believe that T1 is dependent.

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/20141228/a63e6da2/attachment.html>

More information about the llvm-bugs mailing list