PR fortran/26682
* options.c (gfc_post_options): Issue an error when
-fwhole-program is used.
* doc/invoke.texi (-fwhole-program): Document that Fortran
doesn't support this option.
From-SVN: r128977
+2007-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/26682
+ * doc/invoke.texi (-fwhole-program): Document that Fortran
+ doesn't support this option.
+
2007-10-02 Richard Sandiford <rsandifo@nildram.co.uk>
PR middle-end/33617
programs since the functions and variables become local for the whole combined
compilation unit, not for the single source file itself.
+This option is not supported for Fortran programs.
@item -fno-cprop-registers
@opindex fno-cprop-registers
+2007-10-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
+
+ PR fortran/26682
+ * options.c (gfc_post_options): Issue an error when
+ -fwhole-program is used.
+
2007-10-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/33542
char *source_path;
int i;
+ /* Issue an error if -fwhole-program was used. */
+ if (flag_whole_program)
+ gfc_fatal_error ("Option -fwhole-program is not supported for Fortran");
+
/* Verify the input file name. */
if (!filename || strcmp (filename, "-") == 0)
{