OSDN Git Service

* resolve.c (merge_argument_lists): Revert unintentionally
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Aug 2004 16:58:33 +0000 (16:58 +0000)
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Aug 2004 16:58:33 +0000 (16:58 +0000)
committed change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86498 138bc75d-0d04-0410-961f-82ee72b054a4

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

index da02572..1c95c96 100644 (file)
@@ -1,5 +1,10 @@
 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.
        (build_entry_thunks): Remove code with no function.
        (gfc_build_intrinsic_function_decls): Remove empty line.
index 31c3bf4..22d747c 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;
     }