------- Comment #7 from bonzini at gnu dot org 2007-12-17 15:48 ------- re. comment #5, like this?
Index: gcc.c =================================================================== --- gcc.c (revision 128902) +++ gcc.c (working copy) @@ -4685,6 +4685,8 @@ do_spec_1 (const char *spec, int inswitc fatal ("spec '%s' invalid", spec); case 'b': + if (!IS_ABSOLUTE_PATH (input_basename[0]) && input_basename[0] == '-') + obstack_grow (&obstack, "./", 2); obstack_grow (&obstack, input_basename, basename_length); arg_going = 1; break; Anybody wants to bootstrap/test/regtest this? Paolo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32528