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

--- Comment #19 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Created attachment 55024
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55024&action=edit
An enhanced test case

This test case from Herald illustrates a variety of combinations.

Giving:

$ gfc -std=f2018 pr109662-xx.f90 
$ ./a.out 
 Compiler version = GCC version 14.0.0 20230506 (experimental)
 1-line:       > <         759           0
 2-line/left:  > <         759           0
 2-line/right: > <         759           0
 1-line:       >!<          -1          -1
 2-line/left:  >!<          -1           0
 2-line/right: >!<         759           0
 1-line:       >/<          -1           0
 2-line/left:  >/<          -1           0
 2-line/right: >/<          -1           0
 1-line:       >,<         759        5010
 2-line/left:  >,<         759        5010
 2-line/right: >,<         759        5010
 1-line:       >;<         759        5010
 2-line/left:  >;<         759        5010
 2-line/right: >;<         759        5010
 1-line:       tab         759           0
 2-line/left:  tab         759           0
 2-line/right: tab         759           0
 1-line:       lf         759           0
 2-line/left:  lf         759           0
 2-line/right: lf         759           0
 1-line:       ret         759           0
 2-line/left:  ret         759           0
 2-line/right: ret         759           0

Reply via email to