Pernicious anemia results from