diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-26 20:03:21 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-26 20:03:21 +0000 |
commit | c79b54af83c8031caac515081fb7c56a127b90e3 (patch) | |
tree | e5391ba973e0b1e273c9037981ed8ac55099e03f /gcc/fortran/decl.c | |
parent | 8dfbafc807ba917d346d622915073bd4450ad344 (diff) | |
download | gcc-c79b54af83c8031caac515081fb7c56a127b90e3.tar.gz |
2010-10-26 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 165980
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@165983 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/decl.c')
-rw-r--r-- | gcc/fortran/decl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fortran/decl.c b/gcc/fortran/decl.c index 5b4ab182ed7..009b010db26 100644 --- a/gcc/fortran/decl.c +++ b/gcc/fortran/decl.c @@ -1673,8 +1673,10 @@ match_pointer_init (gfc_expr **init, int procptr) return m; /* Match non-NULL initialization. */ + gfc_matching_ptr_assignment = !procptr; gfc_matching_procptr_assignment = procptr; m = gfc_match_rvalue (init); + gfc_matching_ptr_assignment = 0; gfc_matching_procptr_assignment = 0; if (m == MATCH_ERROR) return MATCH_ERROR; |