[Bug c++/71665] [4.9/5/6/7 Regression] ICE on invalid C++ code with non-integral constant enumerator value: in cxx_eval_constant_expression, at cp/constexpr.c:3918

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 27 08:31:00 GMT 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-06-27
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |paolo at gcc dot gnu.org
   Target Milestone|---                         |4.9.4
            Summary|ICE on invalid C++ code     |[4.9/5/6/7 Regression] ICE
                   |with non-integral constant  |on invalid C++ code with
                   |enumerator value: in        |non-integral constant
                   |cxx_eval_constant_expressio |enumerator value: in
                   |n, at cp/constexpr.c:3918   |cxx_eval_constant_expressio
                   |                            |n, at cp/constexpr.c:3918
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With -std=c++1y started already with r205449, otherwise started when -std=c++14
became the default.


More information about the Gcc-bugs mailing list