[LLVMbugs] [Bug 24254] No diagnostic for mismatch between const and constexpr

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jul 24 16:10:52 PDT 2015


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is a GCC bug, there is no language rule requiring variable redeclarations
to agree in 'constexpr' (indeed, the code would be ill-formed if 'constexpr'
were used on the first line).

-- 
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/20150724/5b6d2a21/attachment.html>


More information about the llvm-bugs mailing list