I discovered the dump machinery would get confused by filenames containing '-'. Fixed thusly as obvious.

            gcc/
            * dumpfile.c (parse_dump_option): Deal with filenames
            containing '-'

nathan
--
Nathan Sidwell
diff --git i/gcc/dumpfile.c w/gcc/dumpfile.c
index 9a5496a18e8..8e53aeff340 100644
--- i/gcc/dumpfile.c
+++ w/gcc/dumpfile.c
@@ -1800,7 +1800,7 @@ parse_dump_option (const char *option_value, const char **pos_p)
       end_ptr = strchr (ptr, '-');
       eq_ptr = strchr (ptr, '=');
 
-      if (eq_ptr && !end_ptr)
+      if (eq_ptr && (!end_ptr || end_ptr > eq_ptr))
 	end_ptr = eq_ptr;
 
       if (!end_ptr)

Reply via email to