Backport 52502:
Fix warnings with HP's C compiler.  It doesn't recognize that infinite
loops are, um, infinite.  These conditions should not be able to happen.
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 4e82798..e127d96 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -307,6 +307,8 @@
 		else if (ep->me_key == dummy && freeslot == NULL)
 			freeslot = ep;
 	}
+	assert(0);	/* NOT REACHED */
+	return 0;
 }
 
 /*
@@ -366,6 +368,8 @@
 		if (ep->me_key == dummy && freeslot == NULL)
 			freeslot = ep;
 	}
+	assert(0);	/* NOT REACHED */
+	return 0;
 }
 
 /*
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 440b2fb..9d72b33 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -179,6 +179,8 @@
 		if (entry->key == dummy && freeslot == NULL)
 			freeslot = entry;
 	}
+	assert(0);	/* NOT REACHED */
+	return 0;
 }
 
 /*