https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36312
sarvel <sarvelgcc at outlook dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sarvelgcc at outlook dot com --- Comment #23 from sarvel <sarvelgcc at outlook dot com> --- Created attachment 56105 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56105&action=edit possible fix to overwriting source code added a possible fix, not sure whether thats the best approach as some source extensions may be missed alternatively list of extensions for executable files may be used but *I think* it is easier to get list of all extensions for source files rather than executables