https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89830
--- Comment #5 from Zaak <zbeekman at gmail dot com> --- Sorry about the bad reproducer code (name conflict). To create reproducible builds one must be able to strip or at least map source file references from the source/build directory to something more generic or universal. For example, I usually create a build subdirectory of my source tree and compile in there. Being able to omit directories in filenames is a critical part of this. In this particular example, I suppose that I can likely pass a relative path to the compiler rather than the full path to the source file. But, it would be nice if there were a mechanism to strip paths from warning/error messages like this. I have tried: -fno-working-directory -ffile-prefix-map=OLD=NEW -fdebug-prefix-map=OLD=NEW -fmacro-prefix-map=OLD=NEW and the error message from `repeat()` stubbornly persists. Also, given that my reproducer code was dumb, should we close this an open a new issue to track the paths getting embedded? Or should this issue stay open to discuss/resolve the paths? Personally I think it would be clearer if I closed this as invalid and submitted a new issue demonstrating the path issue.