Very interesting question. Most people treat it as two separate words - "pot" and "pie". However, many dictionaries contain the word "potpie" with the same definition as "pot pie". See Dictionary.com