http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803
--- Comment #4 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2012-01-10 16:44:24 UTC --- Oh, a related, but different bug would be, if getcwd isn't on the system, or fails, I think "." might be better than "", as we form getcwd '/' argv[0], and that doesn't make any sense as "" really. ./a.out seems better than /a.out for example. I merely copied the bug from the other code path for uniformity, not because I thought it was the right value.