summaryrefslogtreecommitdiffstats
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authortobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-24 16:58:33 +0000
committertobi <tobi@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-24 16:58:33 +0000
commitf477687a006ac5895a00892059c0975553f0a8b3 (patch)
tree609b660d3c219464578f786ce7febb4e0a5d6adf /gcc/fortran/resolve.c
parent377df5f3c6abf98c2771284d7769644af8779dfa (diff)
downloadppe42-gcc-f477687a006ac5895a00892059c0975553f0a8b3.tar.gz
ppe42-gcc-f477687a006ac5895a00892059c0975553f0a8b3.zip
* resolve.c (merge_argument_lists): Revert unintentionally
committed change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86498 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/resolve.c')
-rw-r--r--gcc/fortran/resolve.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/fortran/resolve.c b/gcc/fortran/resolve.c
index 31c3bf4f2cf..22d747c092d 100644
--- a/gcc/fortran/resolve.c
+++ b/gcc/fortran/resolve.c
@@ -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;
}
OpenPOWER on IntegriCloud