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

--- Comment #20 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Tomasz Konojacki from comment #18)
> Sorry, it still warns in C mode, but it doesn't in C++.

Yes it does, but only the second one of:
 char x = ((void) i, 0);
  x = i ? x : ((void) i, 0);

The first one was fixed for GCC 10.

Reply via email to