def METHOD_NAME(terminated, logErrors, sourceErrors, compiler):
	"""
	Report error mismatches
	:param terminated: log indicates that compiler was terminated
	:param logErrors: error tuples from the compilation log
	:param sourceErrors: error tuples from the source file(s)
	:param compiler: compiler executable name
	"""
	fail = None
	for e in logErrors:
		if not removeMatch(e, sourceErrors, compiler):
			fail = True
			print ("Unexpected:", e.sev, e.file, e.lineno, e.text)
	for e in sourceErrors:
		fail = True
		print ("Missed:", e.sev, e.file, e.lineno, e.text)
	if fail or terminated:
		print ("FAIL")
	else:
		print ("PASS")