[Bug c++/86953] [7/8 Regression] compiler crashes with constexpr operator== and specific struct (cxx_eval_bit_field_ref, at cp/constexpr.c:2704)

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 21 23:12:00 GMT 2019


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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
      Known to work|                            |9.0
         Depends on|                            |89285
            Summary|[7/8/9 Regression] compiler |[7/8 Regression] compiler
                   |crashes with constexpr      |crashes with constexpr
                   |operator== and specific     |operator== and specific
                   |struct                      |struct
                   |(cxx_eval_bit_field_ref, at |(cxx_eval_bit_field_ref, at
                   |cp/constexpr.c:2704)        |cp/constexpr.c:2704)

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
The patch for 89285 seems to have fixed this on trunk.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89285
[Bug 89285] [8/9 Regression] ICE after casting the this pointer in the
constructor in C++17 mode


More information about the Gcc-bugs mailing list