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

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


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

             Bug #: 56408
           Summary: Fix dependency handling of testsuite/gfortran.dg
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org


There are several test cases, which depend on the execution order. Currently,
tests use the execution order - but this does not work. In some cases, 
dg-additional-sources is used, but that is also not universally applicatable.

One solution would be to create a new subdirectory for those and handle it as
with LTO

See also http://gcc.gnu.org/ml/fortran/2013-02/msg00106.html

Affected (besides others):
* gfortran.dg/binding_label_tests_11_main.f03
* gfortran.dg/binding_label_tests_11.f03
(grep for "keep-modules" to find some more.)

"Would it be possible to re-arrange gfortran.dg so it explicitly builds
dependencies?  Both lto.exp and pch.exp already handle this."



More information about the Gcc-bugs mailing list