[Bug fortran/56408] Fix dependency handling of testsuite/gfortran.dg

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 20 13:49:00 GMT 2013


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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-02-20 13:48:32 UTC ---
(In reply to comment #1)
> Given that you can use dg.exp=nameoftest.f90 and run only that single test, I
> think dg-additional-sources should be the way to go in those cases.

Reconsidering it, I think you are right.

As dg-additional-sources appends the other file, one has to use
dg-additional-sources on the file which provides the module. And in the file
which requires the module, one has to use:
! { dg-do compile  { target skip-all-targets } }


Probably affected:

binding_label_tests_10.f03
binding_label_tests_11.f03
binding_label_tests_13.f03
class_45a.f03
class_4a.f03
class_4b.f03
coarray_29_1.f90
test_common_binding_labels_2.f03
test_common_binding_labels_3.f03
whole_file_28.f90
whole_file_30.f90



More information about the Gcc-bugs mailing list