------- Comment #4 from fxcoudert at gcc dot gnu dot org  2006-06-19 22:16 
-------
This was fixed on mainline by:

r114175 | tkoenig | 2006-05-28 22:25:15 +0200 (Sun, 28 May 2006) | 11 lines

2006-05-28  Thomas Koenig  <[EMAIL PROTECTED]>

        * intrinsics/string_intrinsics.c (compare_string):
        Use memcmp instead of strncmp to avoid tripping over
        CHAR(0) in a string.

2006-05-28  Thomas Koenig  <[EMAIL PROTECTED]>

        * gfortran.dg/string_null_compare_1.f:  New test case.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
      Known to fail|                            |4.1.2
      Known to work|                            |4.2.0
            Summary|Comparison of strings with  |[4.1 only] Comparison of
                   |char(0)                     |strings with char(0)
   Target Milestone|---                         |4.1.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27784

Reply via email to