https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47720
Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldot at gcc dot gnu.org --- Comment #9 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> --- To avoid the duplicate module names, we would have to remember which modules we emitted already (or maybe deps_add_ not when opening and reading the module but way later). But, as said, is this really a problem? As to the fact that -M... requires cpp, we could enable cpp when seeing -M, yes. I'm not sure about the implications this has on the source we're reading though. Maybe none.