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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-05-15
            Version|unknown                     |10.0
     Ever confirmed|0                           |1
      Known to fail|                            |10.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed, the side-effect is lost.  It works when the RHS is not constant
or with

void f();

void b(int p = (f(), 0));

void z()
{
    b();
}

Reply via email to