This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ISO_C_BINDING patch commited to fortran-experiments branch


hi all,

first, i apologize for such a late response to this, but i got a bit 
behind on email.  

were these issues ever worked out?  running the testsuite now doesn't 
report these errors, so i assume this has been fixed.  the "dg-do run" 
should work fine since the file also says there is an additional source, 
which is a C program with a main().

Thanks.
Chris

> 
> By the way, I get the following errors, when running check-gfortran. At
> least for gfortran.dg/bind_c_coms.f90 this is due to the fact that
> "dg-do run" does not work if there is only a "module" and no "program".
> 
> Tobias
> 
> FAIL: gfortran.dg/bind_c_coms.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -O0  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_coms.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -O1  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_coms.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -O2  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_coms.f90  -O3 -fomit-frame-pointer  (test for
> excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/bind_c_coms.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/bind_c_coms.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_coms.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/bind_c_coms.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/bind_c_coms.f90  -Os  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_dts.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -O0  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_dts.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -O1  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_dts.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -O2  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_dts.f90  -O3 -fomit-frame-pointer  (test for
> excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/bind_c_dts.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/bind_c_dts.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_dts.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/bind_c_dts.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/bind_c_dts.f90  -Os  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_vars.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -O0  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_vars.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -O1  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_vars.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -O2  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_vars.f90  -O3 -fomit-frame-pointer  (test for
> excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/bind_c_vars.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/bind_c_vars.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/bind_c_vars.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/bind_c_vars.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/bind_c_vars.f90  -Os  compilation failed to produce
> executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -O0  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -O1  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -O2  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -O3 -fomit-frame-pointer  (test
> for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -O3 -g  compilation failed
> to produce executable
> FAIL: gfortran.dg/c_f_pointer_tests.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/c_f_pointer_tests.f90  -Os  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_kind_params.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -O0  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_kind_params.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -O1  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_kind_params.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -O2  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_kind_params.f90  -O3 -fomit-frame-pointer  (test for
> excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/c_kind_params.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/c_kind_params.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/c_kind_params.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_kind_params.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/c_kind_params.f90  -Os  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -O0  compilation failed to produce
> executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -O1  compilation failed to produce
> executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -O2  compilation failed to produce
> executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -O3 -fomit-frame-pointer  (test for
> excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/c_ptr_tests.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/c_ptr_tests.f90  -Os  compilation failed to produce
> executable
> FAIL: gfortran.dg/com_block_driver.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -O0  compilation failed to
> produce executable
> FAIL: gfortran.dg/com_block_driver.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -O1  compilation failed to
> produce executable
> FAIL: gfortran.dg/com_block_driver.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -O2  compilation failed to
> produce executable
> FAIL: gfortran.dg/com_block_driver.f90  -O3 -fomit-frame-pointer  (test
> for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/com_block_driver.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/com_block_driver.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/com_block_driver.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/com_block_driver.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/com_block_driver.f90  -Os  compilation failed to
> produce executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -O0  compilation failed to
> produce executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -O1  compilation failed to
> produce executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -O2  compilation failed to
> produce executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -O3 -fomit-frame-pointer  (test
> for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/test_proc_stmt.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/test_proc_stmt.f90  -Os  compilation failed to
> produce executable
> FAIL: gfortran.dg/use_iso_c_binding.f90  -O   (test for errors, line 10)
> FAIL: gfortran.dg/use_iso_c_binding.f90  -O   (test for errors, line 15)
> FAIL: gfortran.dg/use_iso_c_binding.f90  -O  (test for excess errors)
> FAIL: gfortran.dg/value_tests_f03.f90  -O0  (test for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -O0  compilation failed to
> produce executable
> FAIL: gfortran.dg/value_tests_f03.f90  -O1  (test for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -O1  compilation failed to
> produce executable
> FAIL: gfortran.dg/value_tests_f03.f90  -O2  (test for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -O2  compilation failed to
> produce executable
> FAIL: gfortran.dg/value_tests_f03.f90  -O3 -fomit-frame-pointer  (test
> for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -O3 -fomit-frame-pointer 
> compilation failed to produce executable
> FAIL: gfortran.dg/value_tests_f03.f90  -O3 -fomit-frame-pointer
> -funroll-loops  (test for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -O3 -fomit-frame-pointer
> -funroll-loops  compilation failed to produce executable
> FAIL: gfortran.dg/value_tests_f03.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  (test for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -O3 -fomit-frame-pointer
> -funroll-all-loops -finline-functions  compilation failed to produce
> executable
> FAIL: gfortran.dg/value_tests_f03.f90  -O3 -g  (test for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -O3 -g  compilation failed to
> produce executable
> FAIL: gfortran.dg/value_tests_f03.f90  -Os  (test for excess errors)
> WARNING: gfortran.dg/value_tests_f03.f90  -Os  compilation failed to
> produce executable
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]