summaryrefslogtreecommitdiff
path: root/gcc/fortran/primary.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-15 15:01:57 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-09-15 15:01:57 +0000
commit86a58d7f49baf072530d96dd6b48a0b4f6bca911 (patch)
tree28780414aa6eae96bfb134b18a3bee72b9b7ff88 /gcc/fortran/primary.c
parentb828b315689edb38104fd4e0d938b8736f871194 (diff)
downloadgcc-86a58d7f49baf072530d96dd6b48a0b4f6bca911.tar.gz
2008-09-15 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r140370 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@140372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/primary.c')
-rw-r--r--gcc/fortran/primary.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fortran/primary.c b/gcc/fortran/primary.c
index 04c24eb7fe9..f3e1b038918 100644
--- a/gcc/fortran/primary.c
+++ b/gcc/fortran/primary.c
@@ -1869,7 +1869,10 @@ check_substring:
case MATCH_NO:
if (unknown)
- gfc_clear_ts (&primary->ts);
+ {
+ gfc_clear_ts (&primary->ts);
+ gfc_clear_ts (&sym->ts);
+ }
break;
case MATCH_ERROR: