Fix thinko in last change.
authorJeff Law <law@gcc.gnu.org>
Thu, 8 Oct 1998 21:22:45 +0000 (15:22 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 8 Oct 1998 21:22:45 +0000 (15:22 -0600)
From-SVN: r22939

gcc/toplev.c

index c3269f4edd02a3cb7fb1a6d9934dc4e9a8fc80ca..f24767a845ae375a68a1c3be806bb7a21c381897 100644 (file)
@@ -2389,8 +2389,12 @@ output_file_directive (asm_file, input_name)
   /* NA gets INPUT_NAME sans directory names.  */
   while (na > input_name)
     {
+      if (na[-1] == '/')
+       break;
+#ifdef DIR_SEPARATOR
       if (na[-1] == DIR_SEPARATOR)
        break;
+#endif
       na--;
     }