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

--- Comment #7 from Steve Kargl <kargl at gcc dot gnu.org> ---
Created attachment 63195
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63195&action=edit
Patch and 2 new testcases

The attached patch fixes the PR by silently ignore one or 
more tabs following a 'print' statement.  With -Wtabs, a
warning will be issued.

2026-01-01  Steven G. Kargl  <[email protected]>

        PR fortran/101399
        * io.cc (match_io):  If the -Wtabs option is used, then Issue a
        warning for a <tab> character following a 'print' statement;
        otherwise ignore the <tab>.

2026-01-01  Steven G. Kargl  <[email protected]>

        * gfortran.dg/pr101399_1.f90: New testcase.
        * gfortran.dg/pr101399_2.f90: Ditto.

Reply via email to