This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Fortran -fwhole-file patch
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: paul dot richard dot thomas at gmail dot com
- Date: Mon, 13 Jul 2009 10:52:48 +0200
- Subject: Re: Fortran -fwhole-file patch
Paul,
With your patch in http://gcc.gnu.org/ml/fortran/2009-07/txt00000.txt
the original code in pr40440 still gives an ICE:
pr40440.f90: In function 'syntax_init_from_ifile':
pr40440.f90:717:0: internal compiler error: in fold_convert, at fold-const.c:2688
I am trying to reduce it, but so far I have only been able to remove less than
half the lines. I'll try to go further tonight.
Also it seems that some error messages are changed, probably spaces, but I have
to investigate the diffs.
Finally, it seems that -fwhole-file is now the default, but -fno-whole-file
does not change it. Unless you want a lot of pr, it would probably better
to keep the old behavior and require -fwhole-file.
Thanks for the work.
Dominique