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



             Bug #: 55618

           Summary: [4.6/4.7/4.8 Regression] Failures with

                    ISO_Varying_String test suite

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Keywords: wrong-code

          Severity: normal

          Priority: P3

         Component: fortran

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: bur...@gcc.gnu.org

                CC: pa...@gcc.gnu.org





The test suite is available at

http://quatramaran.ens.fr/~coudert/gfortran/vst.tar.bz2



The following test succeed with GCC 4.4 and fail with GCC 4.5/4.6/4.7/4.8. As

all versions use - here - the same libgfortran, the bug is in the compiler

itself.





a) gfortran iso_varying_string.f90 auxmod.f95 Vst17.f95



 *ERROR* elemental SPLIT(string_array,word_array,CHAR(set),separator_array) 

  set=ic}

      back=absent





b) gfortran iso_varying_string.f90 auxmod.f95 vst30.f95 



 *ERROR* elemental REPLACE(string_array,CHAR(target),substring_array) 

 element=  1  1

          result=-&?(   3)

       exp.reslt=-" ++'$?(   8)

etc.





c) gfortran iso_varying_string.f90 auxmod.f95 vst31.f95



 *ERROR* elemental REPLACE(char_array,CHAR(target),subchar_array) 

 element=  1  1

          result=&?36/*#837=                             (  40)

       exp.reslt=&8,/" ++'$=                              =                    

        (  71)



etc.

Reply via email to