Fix segfault when using both -g and -MMM
Merge pull request #622 from jbrodman/shengfu

Fix segfault when using both -g and -MMM