Fortran - fix whitespace issue during parsing of assigned goto
authorHarald Anlauf <anlauf@gmx.de>
Mon, 30 Aug 2021 21:07:56 +0000 (23:07 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Mon, 30 Aug 2021 21:10:01 +0000 (23:10 +0200)
commita7083b83e45852540a4a09ee11b74dc28d777399
tree1d75258c04fc52c30101399ca1c4bf9e10ebc2b3
parent79a017c412b412f26ec39e0ada75e247fcff5611
Fortran - fix whitespace issue during parsing of assigned goto

gcc/fortran/ChangeLog:

PR fortran/102113
* match.c (gfc_match_goto): Allow for whitespace in parsing list
of labels.

gcc/testsuite/ChangeLog:

PR fortran/102113
* gfortran.dg/goto_9.f90: New test.
gcc/fortran/match.c
gcc/testsuite/gfortran.dg/goto_9.f90 [new file with mode: 0644]