resolve.c (merge_argument_lists): Revert unintentionally committed change.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Tue, 24 Aug 2004 16:58:33 +0000 (18:58 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Tue, 24 Aug 2004 16:58:33 +0000 (18:58 +0200)
* resolve.c (merge_argument_lists): Revert unintentionally
committed change.

From-SVN: r86498

gcc/fortran/ChangeLog
gcc/fortran/resolve.c

index da0257291a2afdc4d4613ccf43a934e5a6e009d8..1c95c96f1a27e0bccae758ec283db000b1cad8a0 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-24  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
+
+       * resolve.c (merge_argument_lists): Revert unintentionally 
+       committed change.
+       
 2004-08-24  Tobias Schlueter  <tobias.schlueter@physik.uni-muenchen.de>
 
        * trans-decl.c (build_function_decl): Fix spelling in comment.
index 31c3bf4f2cfadf20b7c9214371d56a79b6eb56ae..22d747c092d96c7dc8a1bb049a6d68328f7e565e 100644 (file)
@@ -312,10 +312,6 @@ merge_argument_lists (gfc_symbol *proc, gfc_formal_arglist *new_args)
       /* Add a new argument.  Argument order is not important.  */
       new_arglist = gfc_get_formal_arglist ();
       new_arglist->sym = new_sym;
-      /* We mark all arguments as optional, since in the common case
-        only a subset of the arguments will be present. This avoids
-        having to special case arguments of master functions later on.  */
-      new_arglist->sym->attr.optional = 1;
       new_arglist->next = proc->formal;
       proc->formal  = new_arglist;
     }