[Bug fortran/67779] Strange ordering with strings in extended object

gerhard.steinmetz.fortran@t-online.de gcc-bugzilla@gcc.gnu.org
Thu Oct 1 18:46:00 GMT 2015


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

Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerhard.steinmetz.fortran@t
                   |                            |-online.de

--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
This differs :
   llt('9 ', '10') : F
   llt(' 9', '10') : T

Test : changing format '(a,i0)' to e.g. '(a,i2)'

$ a.out
 Sorting ...
 Result:
           1
           2
           3
           4
           5
           6
           7
           8
           9
          10
 String =  1
 String =  2
 String =  3
 String =  4
 String =  5
 String =  6
 String =  7
 String =  8
 String =  9
 String = 10



More information about the Gcc-bugs mailing list