OSDN Git Service

Don't link to or test existence of libgfortranbegin
authorjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2009 20:02:02 +0000 (20:02 +0000)
committerjb <jb@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 2009 20:02:02 +0000 (20:02 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147929 138bc75d-0d04-0410-961f-82ee72b054a4

libgomp/ChangeLog
libgomp/testsuite/libgomp.fortran/fortran.exp

index e8a6fbf..65144c3 100644 (file)
@@ -1,3 +1,10 @@
+2009-05-27  Janne Blomqvist  <jb@gcc.gnu.org>
+
+       PR fortran/39718
+       * testsuite/libgomp.fortran/fortran.exp: Don't link with
+       libgfortranbegin, check existence of libgfortran.a instead of
+       libgfortranbegin.a.
+
 2009-05-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR libgomp/40174
 2009-05-20  Jakub Jelinek  <jakub@redhat.com>
 
        PR libgomp/40174
index 0f7ad6e..3d6615f 100644 (file)
@@ -1,5 +1,5 @@
 set lang_library_path  "../libgfortran/.libs"
 set lang_library_path  "../libgfortran/.libs"
-set lang_link_flags    "-lgfortranbegin -lgfortran"
+set lang_link_flags    "-lgfortran"
 set lang_test_file_found 0
 
 load_lib libgomp-dg.exp
 set lang_test_file_found 0
 
 load_lib libgomp-dg.exp
@@ -8,11 +8,11 @@ load_lib libgomp-dg.exp
 dg-init
 
 if { $blddir != "" } {
 dg-init
 
 if { $blddir != "" } {
-    if [file exists "${blddir}/${lang_library_path}/libgfortranbegin.a"] {
-        set lang_test_file "${lang_library_path}/libgfortranbegin.a"
+    if [file exists "${blddir}/${lang_library_path}/libgfortran.a"] {
+        set lang_test_file "${lang_library_path}/libgfortran.a"
         set lang_test_file_found 1
     } else {
         set lang_test_file_found 1
     } else {
-        puts "No libgfortranbegin library found, will not execute fortran tests"
+        puts "No libgfortran library found, will not execute fortran tests"
     }
 } elseif [info exists GFORTRAN_UNDER_TEST] {
     set lang_test_file_found 1
     }
 } elseif [info exists GFORTRAN_UNDER_TEST] {
     set lang_test_file_found 1