This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35015] missing cleanup-modules directive in testsuite/gfortran*
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2008 15:36:59 -0000
- Subject: [Bug fortran/35015] missing cleanup-modules directive in testsuite/gfortran*
- References: <bug-35015-11811@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2008-01-29 15:36 -------
> This scripts emits on stdout a diagnostic message about
> a) wrong encoding in testcases (CRLF)
I think it is OK to mix \n and \r\n in the test suite as both should work. In
principle "\r" (old Mac files) should work as well, but seemingly no one has
requested this (-> currently unimplemented).
Thus I strongly advice against having only "\n" files.
> b) add missing cleanup-module directives.
> $ for i in $(grep --exclude='*.svn*' -rl dg-do gfortran*); do
> ../contrib/gfortran.dg-final.cleanup-mods.awk $i;done 2> /dev/null
This will find also those which are "dg-do compile" where no .mod is produced
("dg-error" in MODULE) and misses those which do not contain "dg-do compile" as
this is the default value.
But in any case the script is useful.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35015