[Bug fortran/40011] Problems with -fwhole-file
dominiq at lps dot ens dot fr
gcc-bugzilla@gcc.gnu.org
Mon May 4 17:55:00 GMT 2009
------- Comment #4 from dominiq at lps dot ens dot fr 2009-05-04 17:54 -------
With thee patch in http://gcc.gnu.org/ml/fortran/2009-05/msg00056.html without
type cheating, all the ICEs in my tests are gone. It even fixes pr37744!-(it
may give a clue on how to fix it without -fwhole-file).
For the test arr_fun.f90, I now get:
arr_fun.f90:10.6:
res = test(2)
1
Error: The reference to function 'test' at (1) either needs an explicit
INTERFACE or the rank is incorrect
which seems right (without -fwhole-file I get a "bus error" at run time).
Test gcc/testsuite/gfortran.dg/hollerith.f90 and friends won't probably pass
regtesting:
call test (8h hello)
1
Error: Type mismatch in argument 'h' at (1); passed HOLLERITH to INTEGER(8)
I have to run the polyhedron tests and to regtest, so it is all for this time.
Thanks for the patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40011
More information about the Gcc-bugs
mailing list