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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|NEW                         |ASSIGNED
            Version|unknown                     |9.0
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot 
gnu.org

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think GCC 9 has a fix for the issue you see with GCC 8.  And earlier GCC ICE
differently again...

I suspect the GCC 9 issue is mine (gimplifcation into "SSA").  .gimple has:

b(intptr_t, T) [with T = int]::<lambda()>::<lambda()>::operator() (const struct
__lambda3 * const this)
{
  intptr_t & n [value-expr: this->__n];

  {
    _1 = _1 + 1;
    _2 = (unsigned int) _1;
    _3 = _2 * 4;
    _4 = this->__n;
    _5 = (int) _3;
    *_4 = _5;
  }

Reply via email to