[llvm-bugs] [Bug 35390] static constexpr data member of non static member not considered constant

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 22 10:28:04 PST 2017


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

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

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

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This is a GCC bug. As the diagnostic notes, the evaluation semantics for that
expression involve evaluation of an implicit "this" expression, which is
non-constant.

-- 
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/20171122/28b8a49a/attachment.html>


More information about the llvm-bugs mailing list