diff options
author | mikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-03 17:24:19 +0000 |
---|---|---|
committer | mikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-03 17:24:19 +0000 |
commit | 65dd30144b01c85962532fb84c030614bd3fa7e5 (patch) | |
tree | 15fa637a5cd07ff7135a8264899b69704e5f6949 /gcc/fortran/symbol.c | |
parent | 2ba401fca88d1237b6c3a892aee630054581e589 (diff) | |
download | gcc-65dd30144b01c85962532fb84c030614bd3fa7e5.tar.gz |
fortran/
* symbol.c (restore_old_symbol): Fix thinko.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196413 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/symbol.c')
-rw-r--r-- | gcc/fortran/symbol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fortran/symbol.c b/gcc/fortran/symbol.c index ce39b8cf427..5613086fbe0 100644 --- a/gcc/fortran/symbol.c +++ b/gcc/fortran/symbol.c @@ -2896,7 +2896,8 @@ restore_old_symbol (gfc_symbol *p) if (p->value != old->value) { - gfc_free_expr (old->value); + gcc_checking_assert (old->value == NULL); + gfc_free_expr (p->value); p->value = NULL; } |