projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b596963
)
* config/darwin.c (indirect_data): Fix typo in strncmp logic.
author
Mike Stump
<mrs@apple.com>
Fri, 8 Apr 2005 22:53:31 +0000
(22:53 +0000)
committer
Mike Stump
<mrs@gcc.gnu.org>
Fri, 8 Apr 2005 22:53:31 +0000
(22:53 +0000)
From-SVN: r97866
gcc/ChangeLog
patch
|
blob
|
history
gcc/config/darwin.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index f2e639c9bfbec25529fba9e8192e71a7110555c1..470e2215def817b525159e5c90b5d895c8cfc8ee 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-1,3
+1,7
@@
+2005-04-08 Mike Stump <mrs@apple.com>
+
+ * config/darwin.c (indirect_data): Fix typo in strncmp logic.
+
2005-04-08 Kazu Hirata <kazu@cs.umass.edu>
* c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Remove.
diff --git
a/gcc/config/darwin.c
b/gcc/config/darwin.c
index e6f41a22994ed63d350b148753687e82d6632874..0b2ddc3677aab77f44e3d027bbc67a519e790733 100644
(file)
--- a/
gcc/config/darwin.c
+++ b/
gcc/config/darwin.c
@@
-169,7
+169,7
@@
indirect_data (rtx sym_ref)
lprefix = (((name[0] == '*' || name[0] == '&')
&& (name[1] == 'L' || (name[1] == '"' && name[2] == 'L')))
- || (strncmp (name, "_OBJC_", 6)));
+ || (strncmp (name, "_OBJC_", 6)
== 0
));
return ! lprefix;
}