projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fed3e40
)
Fix thinko in last change.
author
Jeff Law
<law@gcc.gnu.org>
Thu, 8 Oct 1998 21:22:45 +0000
(15:22 -0600)
committer
Jeff Law
<law@gcc.gnu.org>
Thu, 8 Oct 1998 21:22:45 +0000
(15:22 -0600)
From-SVN: r22939
gcc/toplev.c
patch
|
blob
|
history
diff --git
a/gcc/toplev.c
b/gcc/toplev.c
index c3269f4edd02a3cb7fb1a6d9934dc4e9a8fc80ca..f24767a845ae375a68a1c3be806bb7a21c381897 100644
(file)
--- a/
gcc/toplev.c
+++ b/
gcc/toplev.c
@@
-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--;
}