Commit 7214727c by Janus Weil

re PR fortran/50403 (SIGSEGV in gfc_use_derived)

2011-09-17  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/50403
	* symbol.c (gfc_use_derived): Fix coding style.

From-SVN: r178928
parent 1c56f7cb
2011-09-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/50403
* symbol.c (gfc_use_derived): Fix coding style.
2011-09-15 Janus Weil <janus@gcc.gnu.org>
PR fortran/50401
......
......@@ -1945,7 +1945,8 @@ gfc_use_derived (gfc_symbol *sym)
gfc_symtree *st;
int i;
if (!sym) return NULL;
if (!sym)
return NULL;
if (sym->components != NULL || sym->attr.zero_comp)
return sym; /* Already defined. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment