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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-03-20
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Note that scan-module in the same file contains a "gzip" to handle this case.

Hence an obvious patch

--- ../_clean/gcc/testsuite/lib/gcc-dg.exp    2014-03-14 16:55:56.000000000
+0100
+++ gcc/testsuite/lib/gcc-dg.exp    2014-03-20 16:55:40.000000000 +0100
@@ -656,7 +656,7 @@ proc scan-module { args } {
 # Argument 1 is the regexp to match
 proc scan-module-absence { args } {
     set modfilename [string tolower [lindex $args 0]].mod
-    set fd [open $modfilename r]
+    set fd [open [list | gzip -dc $modfilename] r]
     set text [read $fd]
     close $fd

I have tested that with this patch the test gfortran.dg/implicit_pure_4.f90
succeeds after r209687, but fails before it (while it succeeds without the
above patch).

Reply via email to