https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268
infinity0 at pwned dot gg changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |infinity0 at pwned dot gg --- Comment #12 from infinity0 at pwned dot gg --- Are you aware of this patch? https://gcc.gnu.org/ml/gcc-patches/2017-07/msg01315.html If the overall motivation is to support reproducible builds, then you might be interested in that, which is a unified mechanism that allows future extensions to cover things *other* than __FILE__ and debug paths. (For example, reproducible .o files which, I am told, contain STT_FILE entries that contain the build path.) The patch is not accepted yet; I had some review comments back in August and I'm supposed to amend it to use a command-line flag instead of an environment variable instead. I was going through my TODO backlog (non-GCC) since that time, but I'll be finally working on this over the next week or so.