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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
If I look at the 'gcc -E' output, the order is reverted:

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wall"
#pragma GCC diagnostic pop
  else { b--; ; ; a--; ; }

this should be instead:

  else { b--;
#pragma GCC diagnostic push
;
#pragma GCC diagnostic ignored "-Wall"
; a--;
#pragma GCC diagnostic pop
; }


I did observe the same in PR102409 – see analysis there. But contrary to the
issue in the other PR, the patch there does not solve the issue in this PR.

Additionally, for 'GCC diagnostic' there might be a column issue as discussed
in PR91669 comment 3.

Reply via email to