--- a/stage3/lvalue_check.cc Wed Aug 07 10:18:29 2013 +0100
+++ b/stage3/lvalue_check.cc Wed Aug 07 10:24:32 2013 +0100
@@ -261,6 +261,12 @@
*/
#include <string.h> /* required for strcmp() */
void lvalue_check_c::check_nonformal_call(symbol_c *f_call, symbol_c *f_decl) {
+ /* if data type semantic verification was unable to determine which function is being called,
+ * then it does not make sense to go ahead and check for lvalues to unknown parameters.
+ * We simply bug out!
+ */
+ if (NULL == f_decl) return;
+
symbol_c *call_param_value;
identifier_c *param_name;
function_param_iterator_c fp_iterator(f_decl);