[llvm-bugs] [Bug 31725] New: 3.9 compilation failure on valid code: array type mismatch

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 23 13:09:39 PST 2017


https://llvm.org/bugs/show_bug.cgi?id=31725

            Bug ID: 31725
           Summary: 3.9 compilation failure on valid code: array type
                    mismatch
           Product: clang
           Version: 3.9
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Clang 3.9 incorrectly errors out with some legacy static assert macros (eg:
libunwind).  This issue was addressed in 4.0 with r280330.

Please consider cherry-picking this commit into release_39 in case there is
ever a 3.9.2.

commit 0c1c1751472348ead92a1c5ffd6a7db08dd446e7
Author: Akira Hatanaka <ahatanaka at apple.com>
Date:   Thu Sep 1 01:03:21 2016 +0000

    [Sema] Don't diagnose an array type mismatch when the new or previous
    declaration has a dependent type.

    This fixes a bug where clang errors out on a valid code.

    rdar://problem/28051467

    Differential Revision: https://reviews.llvm.org/D24110


    git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280330
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
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/20170123/b2bc2ed8/attachment.html>


More information about the llvm-bugs mailing list