[Bug fortran/59612] iso_fortran_env segfaults with -fdump-fortran-original

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Dec 28 14:33:00 GMT 2013


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

--- Comment #3 from janus at gcc dot gnu.org ---
Maybe it would make sense to run the testsuite with -fdump-fortran-original, in
order to check for further problems:


Index: gcc/testsuite/gfortran.dg/dg.exp
===================================================================
--- gcc/testsuite/gfortran.dg/dg.exp    (revision 206231)
+++ gcc/testsuite/gfortran.dg/dg.exp    (working copy)
@@ -22,7 +22,7 @@
 # If a testcase doesn't have special options, use these.
 global DEFAULT_FFLAGS
 if ![info exists DEFAULT_FFLAGS] then {
-    set DEFAULT_FFLAGS " -pedantic-errors"
+    set DEFAULT_FFLAGS " -pedantic-errors -fdump-fortran-original"
 }

 # Initialize `dg'.



More information about the Gcc-bugs mailing list