This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/84559] [7/8 Regression] ICE with constexpr and variable-sized array


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84559

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org
            Version|unknown                     |7.0.1
   Target Milestone|---                         |7.4
            Summary|[6/7/8 Regression] ICE with |[7/8 Regression] ICE with
                   |constexpr and               |constexpr and
                   |variable-sized array        |variable-sized array

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't see how something that doesn't even have known size at compile time
could be a valid constant expression.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]